feat: Enable nh tool on thrall and dregil

This commit is contained in:
Alexander Kobjolke 2025-03-24 22:32:57 +01:00
parent 63c2616be9
commit 22930d0698
3 changed files with 16 additions and 0 deletions

View file

@ -30,5 +30,6 @@
../../modules/podman
../../modules/tailscale
../../modules/flatpak.nix
../../modules/nh.nix
];
}

View file

@ -30,6 +30,7 @@ in
../../modules/hledger-web.nix
../../modules/tailscale
../../modules/mosh.nix
../../modules/nh.nix
];
# Use the GRUB 2 boot loader.

14
modules/nh.nix Normal file
View 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;
}