move nh config to module
This commit is contained in:
parent
469b63bcfc
commit
b80bbe97dc
@ -11,6 +11,7 @@
|
|||||||
../../modules/nix/nvidia.nix
|
../../modules/nix/nvidia.nix
|
||||||
../../modules/nix/grub.nix
|
../../modules/nix/grub.nix
|
||||||
../../modules/nix/nvf.nix
|
../../modules/nix/nvf.nix
|
||||||
|
../../modules/nix/nh.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
@ -157,11 +158,4 @@
|
|||||||
programs.firefox.enable = true;
|
programs.firefox.enable = true;
|
||||||
|
|
||||||
programs.zsh.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";
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
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";
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user