aboutsummaryrefslogtreecommitdiff
path: root/nix/configuration.nix
diff options
context:
space:
mode:
authorAlex <alex@adnab.me>2023-03-24 11:05:29 +0000
committerAlex <alex@adnab.me>2023-03-24 11:05:29 +0000
commit76c8e8f0b0a703c7b067d3315a93d0512fbf2e76 (patch)
tree0b797276cd000ed72320e625252ebf71d33674dd /nix/configuration.nix
parent8e29ee3b0b2f1855a26bc45e5dc502f8aad8e266 (diff)
parent53b9cfd8385a4cf60176df02eea7a3804b3891fb (diff)
downloadnixcfg-76c8e8f0b0a703c7b067d3315a93d0512fbf2e76.tar.gz
nixcfg-76c8e8f0b0a703c7b067d3315a93d0512fbf2e76.zip
Merge pull request 'Passer wgautomesh en prod' (#9) from wgautomesh into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/nixcfg/pulls/9
Diffstat (limited to 'nix/configuration.nix')
-rw-r--r--nix/configuration.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nix/configuration.nix b/nix/configuration.nix
index 0b07056..9d3169b 100644
--- a/nix/configuration.nix
+++ b/nix/configuration.nix
@@ -84,5 +84,8 @@ SystemMaxUse=1G
dns = [ "172.17.0.1" ];
})}";
};
+
+ nix.gc.automatic = true;
+ nix.gc.options = "--delete-older-than 30d";
}