update nixos.nix
This commit is contained in:
parent
23be1436c2
commit
babd344bbc
1 changed files with 13 additions and 13 deletions
|
@ -1,16 +1,16 @@
|
|||
{ ... }: {
|
||||
# Enable flakes: https://nixos.wiki/wiki/Flakes
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
nix.optimise = {
|
||||
automatic = true;
|
||||
dates = ["daily"];
|
||||
nix = {
|
||||
settings = {
|
||||
experimental-features = [ "nix-command" "flakes" ];
|
||||
};
|
||||
|
||||
# Garbage collection -- Keep the system clean
|
||||
nix.gc = {
|
||||
optimise = {
|
||||
automatic = true;
|
||||
dates = [ "daily" ];
|
||||
};
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "daily";
|
||||
options = "--delete-older-than 30d";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue