feat: Enable nh tool on thrall and dregil
This commit is contained in:
parent
63c2616be9
commit
22930d0698
3 changed files with 16 additions and 0 deletions
|
|
@ -30,5 +30,6 @@
|
||||||
../../modules/podman
|
../../modules/podman
|
||||||
../../modules/tailscale
|
../../modules/tailscale
|
||||||
../../modules/flatpak.nix
|
../../modules/flatpak.nix
|
||||||
|
../../modules/nh.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,7 @@ in
|
||||||
../../modules/hledger-web.nix
|
../../modules/hledger-web.nix
|
||||||
../../modules/tailscale
|
../../modules/tailscale
|
||||||
../../modules/mosh.nix
|
../../modules/mosh.nix
|
||||||
|
../../modules/nh.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use the GRUB 2 boot loader.
|
# Use the GRUB 2 boot loader.
|
||||||
|
|
|
||||||
14
modules/nh.nix
Normal file
14
modules/nh.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
programs.nh = {
|
||||||
|
enable = true;
|
||||||
|
clean.enable = true;
|
||||||
|
clean.extraArgs = "--keep-since 4d --keep 3";
|
||||||
|
flake = "/home/alex/src/nixos-config";
|
||||||
|
};
|
||||||
|
|
||||||
|
nix.gc.automatic = lib.mkForce false;
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue