diff --git a/configuration.nix b/configuration.nix
index 7a38182..109a3bc 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -65,7 +65,11 @@ in {
   system.stateVersion = "18.09";
   system.autoUpgrade.enable = true;
 
-  nix.gc.automatic = true;
-  nix.gc.dates = "weekly";
-  nix.gc.options = "--delete-older-than 30d";
+  nix = {
+    optimise.automatic = true;
+    gc = {
+      automatic = true;
+      options = "--delete-older-than 7d";
+    };
+  };
 }