move nh config to module
This commit is contained in:
1 parent
469b63bcfc
commit
b80bbe97dc
2 files changed
+10
-7
No files matched your search
@@ -11,6 +11,7 @@
|
||||
../../modules/nix/nvidia.nix
|
||||
../../modules/nix/grub.nix
|
||||
../../modules/nix/nvf.nix
|
||||
../../modules/nix/nh.nix
|
||||
];
|
||||
|
||||
home-manager = {
|
||||
@@ -157,11 +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";
|
||||
};
|
||||
}
|
||||
@@ -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";
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user