mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 18:04:41 +02:00
serverle: fmt & cleanup
This commit is contained in:
parent
6936c08ffb
commit
ef3c9d0340
1 changed files with 11 additions and 5 deletions
16
serverle.nix
16
serverle.nix
|
@ -24,10 +24,16 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
# Nix
|
# Nix
|
||||||
nix.gc.automatic = true;
|
nix.gc = {
|
||||||
nix.gc.options = "--delete-older-than 30d";
|
automatic = true;
|
||||||
|
options = "--delete-older-than 30d";
|
||||||
|
};
|
||||||
|
|
||||||
system.stateVersion = "21.05";
|
system = {
|
||||||
system.autoUpgrade.enable = true;
|
stateVersion = "21.05";
|
||||||
system.autoUpgrade.channel = https://nixos.org/channels/nixos-21.05;
|
autoUpgrade = {
|
||||||
|
enable = true;
|
||||||
|
channel = https://nixos.org/channels/nixos-21.05;
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue