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