From 40e7f12b33ea2f29ccc3ce540dae76e04cd00fd7 Mon Sep 17 00:00:00 2001 From: Daniel Frank Date: Wed, 3 Jul 2019 23:12:06 +0200 Subject: [PATCH] allow automatic rebooting on kernel updates (fix module) --- auto-upgrade.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" ]