allow automatic rebooting on kernel updates (disable debug)
This commit is contained in:
parent
41a3cdbedb
commit
02811d2eb7
|
@ -93,7 +93,6 @@ let cfg = config.system.autoUpgrade; in
|
||||||
script = ''
|
script = ''
|
||||||
${lib.optionalString cfg.allowReboot ''
|
${lib.optionalString cfg.allowReboot ''
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
set -x
|
|
||||||
T=$(mktemp -d)
|
T=$(mktemp -d)
|
||||||
cd "$T"
|
cd "$T"
|
||||||
${config.system.build.nixos-rebuild}/bin/nixos-rebuild build ${toString cfg.flags}
|
${config.system.build.nixos-rebuild}/bin/nixos-rebuild build ${toString cfg.flags}
|
||||||
|
|
Loading…
Reference in a new issue