diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-08-12 10:00:24 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-08-12 10:00:24 -0700 |
| commit | eb62ca846ac122f9aaacb10cdaec67249fbf89a7 (patch) | |
| tree | d447477a3965e49814b68c9d4bf8c525c366f9ca /profiles/nix/gc.nix | |
| parent | move disks configuration to the host' directory (diff) | |
| download | infra-eb62ca846ac122f9aaacb10cdaec67249fbf89a7.tar.gz | |
create profiles for networkd and nix's GC
Diffstat (limited to 'profiles/nix/gc.nix')
| -rw-r--r-- | profiles/nix/gc.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/profiles/nix/gc.nix b/profiles/nix/gc.nix new file mode 100644 index 0000000..c39476c --- /dev/null +++ b/profiles/nix/gc.nix @@ -0,0 +1,8 @@ +{ ... }: +{ + nix.gc = { + automatic = true; + options = "--delete-older-than 14d"; + }; + nix.optimise.automatic = true; +} |
