aboutsummaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
authorAria Shrimpton <me@aria.rip>2024-01-30 00:36:33 +0000
committerAria Shrimpton <me@aria.rip>2024-01-30 00:36:33 +0000
commita65e81e1c9dacc5c61c6e8531f3b090914c5178f (patch)
tree7bb613355dbe2f9c99eaf72dd100e68470edff4e /nix
parent59cd825323e8a96ec70b4d398b6a8174daa9d3bc (diff)
gc for server
Diffstat (limited to 'nix')
-rw-r--r--nix/configuration.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/nix/configuration.nix b/nix/configuration.nix
index fa422e8..6338c63 100644
--- a/nix/configuration.nix
+++ b/nix/configuration.nix
@@ -19,7 +19,14 @@
candelabra # :D
];
- nix.settings.experimental-features = ["nix-command" "flakes" "ca-derivations"];
+ nix = {
+ settings.experimental-features = ["nix-command" "flakes" "ca-derivations"];
+ gc = {
+ automatic = true;
+ dates = "03:15";
+ options = "--delete-older-than 1d";
+ };
+ };
# Everything below here is just boring machine setup
networking.hostName = "candelabra";