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 = {
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
settings = {
|
||||||
|
experimental-features = [ "nix-command" "flakes" ];
|
||||||
nix.optimise = {
|
};
|
||||||
|
optimise = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
dates = [ "daily" ];
|
dates = [ "daily" ];
|
||||||
};
|
};
|
||||||
|
gc = {
|
||||||
# Garbage collection -- Keep the system clean
|
|
||||||
nix.gc = {
|
|
||||||
automatic = true;
|
automatic = true;
|
||||||
dates = "daily";
|
dates = "daily";
|
||||||
options = "--delete-older-than 30d";
|
options = "--delete-older-than 30d";
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue