mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
[thinkman] optimise store automatically & fix format
This commit is contained in:
parent
197a1ef3e6
commit
b4535d6b57
1 changed files with 6 additions and 2 deletions
|
@ -48,8 +48,12 @@
|
|||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
# Nix
|
||||
nix.gc.automatic = true;
|
||||
nix.gc.options = "--delete-older-than 30d";
|
||||
nix.autoOptimiseStore = true;
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 30d";
|
||||
};
|
||||
|
||||
system.stateVersion = "20.09";
|
||||
system.autoUpgrade.enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue