Enable e-mail services for auto-upgrade
This commit is contained in:
parent
1260f41dbb
commit
99ed3884f8
3 changed files with 87 additions and 79 deletions
|
@ -18,6 +18,7 @@ in
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
email.enable = true;
|
||||
systemd.services.nixos-upgrade.script = mkOverride 50 (
|
||||
let
|
||||
nixos-rebuild = "${config.system.build.nixos-rebuild}/bin/nixos-rebuild";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue