feat: add nh
Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
fe8697277d
commit
67e8493e20
2 changed files with 13 additions and 0 deletions
|
|
@ -12,6 +12,7 @@
|
|||
inputs.catppuccin.nixosModules.catppuccin
|
||||
|
||||
./locale.nix
|
||||
./nh.nix
|
||||
];
|
||||
|
||||
home-manager.useGlobalPkgs = true;
|
||||
|
|
|
|||
12
hosts/common/global/nh.nix
Normal file
12
hosts/common/global/nh.nix
Normal file
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue