all repos — nixfiles @ 3822220931b125c05d864920e3d29cb7096b759f

System and user configuration, managed by nix and home-manager

marvin: use nh_darwin fork of nh

Alan Pearce
commit

3822220931b125c05d864920e3d29cb7096b759f

parent

8dc044f11630209520e7db272a8937994b3e5db8

1 file changed, 20 insertions(+), 0 deletions(-)

changed files
A system/settings/programs/nh.nix
@@ -0,0 +1,20 @@
+{ config, ... }: { + programs.nh = + let + flake = builtins.toString ../../..; + in + { + enable = true; + os = { + inherit flake; + }; + home = { + inherit flake; + }; + clean = { + enable = true; + extraArgs = "--keep-since 14d"; + }; + }; + nix.gc.automatic = !config.programs.nh.clean.enable; +}