diff --git a/auto-upgrade.nix b/auto-upgrade.nix index 4bbf1b2..20e74fa 100644 --- a/auto-upgrade.nix +++ b/auto-upgrade.nix @@ -67,7 +67,7 @@ let cfg = config.system.autoUpgrade; in }; - config = { + config = lib.mkIf cfg.enable { system.autoUpgrade.flags = [ "--no-build-output" ]