Added nix automatic gc
This commit is contained in:
parent
c9658639b3
commit
b4daff252a
2 changed files with 6 additions and 1 deletions
|
|
@ -120,6 +120,11 @@ in
|
|||
"flakes"
|
||||
];
|
||||
nix.settings.auto-optimise-store = true;
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue