enable autoupdater

This commit is contained in:
Charlotte 🦝 Delenk 2024-11-21 08:20:44 +01:00
parent 459ecf9c60
commit 4123b40932

View file

@ -40,7 +40,7 @@ with lib;
}; };
}; };
#config.nix.auto-update.enable = mkDefault config.nix.enable; config.nix.auto-update.enable = mkDefault config.nix.enable;
config.nix.auto-update.reboot = mkDefault true; config.nix.auto-update.reboot = mkDefault true;
config.systemd.services.nixos-upgrade = mkIf config.nix.enable { config.systemd.services.nixos-upgrade = mkIf config.nix.enable {
description = "NixOS Upgrade"; description = "NixOS Upgrade";