Compare commits
3 Commits
d08dd1bed0
...
b80bbe97dc
| Author | SHA1 | Date | |
|---|---|---|---|
| b80bbe97dc | |||
| 469b63bcfc | |||
| 8cef8a8839 |
@ -9,6 +9,9 @@
|
||||
../../modules/nix/pipewire.nix
|
||||
../../modules/nix/locales.nix
|
||||
../../modules/nix/nvidia.nix
|
||||
../../modules/nix/grub.nix
|
||||
../../modules/nix/nvf.nix
|
||||
../../modules/nix/nh.nix
|
||||
];
|
||||
|
||||
home-manager = {
|
||||
@ -23,11 +26,6 @@
|
||||
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
boot.loader.grub.enable = true;
|
||||
boot.loader.grub.efiSupport = true;
|
||||
boot.loader.grub.device = "nodev";
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
boot.loader.grub.extraEntries = ''
|
||||
menuentry "Archlinux" {
|
||||
insmod part_gpt
|
||||
@ -160,36 +158,4 @@
|
||||
programs.firefox.enable = true;
|
||||
|
||||
programs.zsh.enable = true;
|
||||
|
||||
programs.nh = {
|
||||
enable = true;
|
||||
clean.enable = true;
|
||||
clean.extraArgs = "--keep-since 30d --keep 10";
|
||||
flake = "/home/smayzy/nix-config";
|
||||
};
|
||||
|
||||
programs.nvf = {
|
||||
enable = true;
|
||||
settings = {
|
||||
vim = {
|
||||
viAlias = false;
|
||||
vimAlias = true;
|
||||
lsp = {
|
||||
enable = true;
|
||||
};
|
||||
languages = {
|
||||
nix.enable = true;
|
||||
clang.enable = true;
|
||||
rust.enable = true;
|
||||
};
|
||||
theme = {
|
||||
enable = true;
|
||||
name = lib.mkDefault "dracula";
|
||||
};
|
||||
statusline.lualine.enable = true;
|
||||
telescope.enable = true;
|
||||
autocomplete.nvim-cmp.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
7
modules/nix/grub.nix
Normal file
7
modules/nix/grub.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
boot.loader.grub.enable = true;
|
||||
boot.loader.grub.efiSupport = true;
|
||||
boot.loader.grub.device = "nodev";
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
}
|
||||
9
modules/nix/nh.nix
Normal file
9
modules/nix/nh.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ config, lib, pkgs, ...}:
|
||||
{
|
||||
programs.nh = {
|
||||
enable = true;
|
||||
clean.enable = true;
|
||||
clean.extraArgs = "--keep-since 30d --keep 10";
|
||||
flake = "/home/smayzy/nix-config";
|
||||
};
|
||||
}
|
||||
27
modules/nix/nvf.nix
Normal file
27
modules/nix/nvf.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
programs.nvf = {
|
||||
enable = true;
|
||||
settings = {
|
||||
vim = {
|
||||
viAlias = false;
|
||||
vimAlias = true;
|
||||
lsp = {
|
||||
enable = true;
|
||||
};
|
||||
languages = {
|
||||
nix.enable = true;
|
||||
clang.enable = true;
|
||||
rust.enable = true;
|
||||
};
|
||||
theme = {
|
||||
enable = true;
|
||||
name = lib.mkDefault "dracula";
|
||||
};
|
||||
statusline.lualine.enable = true;
|
||||
telescope.enable = true;
|
||||
autocomplete.nvim-cmp.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user