API controlled timezone, autoupgrades and SSH keys

This commit is contained in:
Inex Code
2021-11-22 19:53:43 +03:00
parent a71fd79588
commit 255ea374c0
5 changed files with 74 additions and 14 deletions

View File

@@ -59,8 +59,8 @@ in
environment.variables = {
DOMAIN = config.services.userdata.domain;
};
system.autoUpgrade.enable = true;
system.autoUpgrade.allowReboot = false;
system.autoUpgrade.enable = config.services.userdata.autoUpgrade.enable;
system.autoUpgrade.allowReboot = config.services.userdata.autoUpgrade.allowReboot;
system.autoUpgrade.channel = https://nixos.org/channels/nixos-21.05-small;
nix = {
optimise.automatic = true;