Allow for git pull
before auto-upgrade
This commit is contained in:
parent
99ed3884f8
commit
b756893fa5
2 changed files with 48 additions and 11 deletions
|
@ -88,9 +88,14 @@ in
|
|||
# accidentally delete configuration.nix.
|
||||
# system.copySystemConfiguration = true;
|
||||
|
||||
system.autoUpgrade.enable = true;
|
||||
system.autoUpgrade.allowReboot = true;
|
||||
system.autoUpgrade.sendEmail = true;
|
||||
system.autoUpgrade = {
|
||||
enable = true;
|
||||
allowReboot = true;
|
||||
sendEmail = true;
|
||||
gitPull = true;
|
||||
gitDeploymentKeyFile = "/secrets/ssh_id_gitea_nixos_configuration";
|
||||
};
|
||||
|
||||
# systemd.services.nixos-upgrade.onFailure = lib.mkIf config.system.autoUpgrade.enable [ "status-email@%n.service" ];
|
||||
|
||||
services.btrfsScrub = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue