fix eval
This commit is contained in:
parent
cbfab6a273
commit
8d3cdbac95
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ with lib; {
|
||||||
|
|
||||||
config.nix.auto-update.enable = mkDefault true;
|
config.nix.auto-update.enable = mkDefault true;
|
||||||
config.nix.auto-update.reboot = mkDefault true;
|
config.nix.auto-update.reboot = mkDefault true;
|
||||||
systemd.services.nixos-upgrade = {
|
config.systemd.services.nixos-upgrade = {
|
||||||
description = "NixOS Upgrade";
|
description = "NixOS Upgrade";
|
||||||
restartIfChanged = false;
|
restartIfChanged = false;
|
||||||
unitConfig.X-StopOnRemoval = false;
|
unitConfig.X-StopOnRemoval = false;
|
||||||
|
@ -70,7 +70,7 @@ with lib; {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.timers.nixos-upgrade = {
|
config.systemd.timers.nixos-upgrade = {
|
||||||
enable = config.nix.auto-update.enable;
|
enable = config.nix.auto-update.enable;
|
||||||
description = "Automatically update nixos";
|
description = "Automatically update nixos";
|
||||||
requires = ["nixos-upgrade.service"];
|
requires = ["nixos-upgrade.service"];
|
||||||
|
|
Loading…
Reference in a new issue