diff --git a/hosts/common/global/default.nix b/hosts/common/global/default.nix index 25cf455..4b9c4dd 100644 --- a/hosts/common/global/default.nix +++ b/hosts/common/global/default.nix @@ -12,6 +12,7 @@ inputs.catppuccin.nixosModules.catppuccin ./locale.nix + ./nh.nix ]; home-manager.useGlobalPkgs = true; diff --git a/hosts/common/global/nh.nix b/hosts/common/global/nh.nix new file mode 100644 index 0000000..cf09b1a --- /dev/null +++ b/hosts/common/global/nh.nix @@ -0,0 +1,12 @@ +{ pkgs, ... }: +{ + programs.nh = { + enable = true; + package = pkgs.nh; + flake = "/home/lander/git/nixos-config"; + clean = { + enable = true; + extraArgs = "--keep-since 10d --keep 3"; + }; + }; +}