prevent auto-updating for server, networked machines
This commit is contained in:
parent
81571ae7f3
commit
78cc02941f
2 changed files with 5 additions and 1 deletions
|
|
@ -46,6 +46,11 @@ in
|
||||||
SystemMaxUse=100M
|
SystemMaxUse=100M
|
||||||
MaxFileSec=7day
|
MaxFileSec=7day
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# servers should not auto-upgrade; it leads to strange behavior when they
|
||||||
|
# reboot, because of creating their own, new, generation outside of
|
||||||
|
# nixops management.
|
||||||
|
system.autoUpgrade.enable = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
server =
|
server =
|
||||||
|
|
|
||||||
|
|
@ -104,5 +104,4 @@
|
||||||
# servers. You should change this only after NixOS release notes say you
|
# servers. You should change this only after NixOS release notes say you
|
||||||
# should.
|
# should.
|
||||||
system.stateVersion = "20.03"; # Did you read the comment?
|
system.stateVersion = "20.03"; # Did you read the comment?
|
||||||
system.autoUpgrade.enable = true;
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue