feat: encrypted boot partition, fix nix.gc args

This commit is contained in:
ryan4yin
2023-11-26 16:12:38 +00:00
committed by Ryan Yin
parent ee606e5518
commit 2e8d068070
3 changed files with 30 additions and 11 deletions

View File

@@ -32,7 +32,7 @@
# do garbage collection weekly to keep disk usage low
nix.gc = {
automatic = lib.mkDefault true;
options = lib.mkDefault "--delete-older-than 1w";
options = lib.mkDefault "--delete-older-than 7d";
};
# Manual optimise storage: nix-store --optimise

View File

@@ -16,7 +16,7 @@
nix.gc = {
automatic = lib.mkDefault true;
dates = lib.mkDefault "weekly";
options = lib.mkDefault "--delete-older-than 1w";
options = lib.mkDefault "--delete-older-than 7d";
};
nix.settings = {