From 5df687524a947d949e94174bd5741b12e8eaf072 Mon Sep 17 00:00:00 2001 From: Astro Date: Thu, 8 Apr 2021 18:31:58 +0200 Subject: [PATCH] autounattend: make shutdownOnAdminLogin configurable --- wfvm/autounattend.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wfvm/autounattend.nix b/wfvm/autounattend.nix index 6033b21..0826b01 100644 --- a/wfvm/autounattend.nix +++ b/wfvm/autounattend.nix @@ -15,6 +15,7 @@ , impureShellCommands ? [] , driveLetter ? "D:" , efi ? true +, shutdownOnAdminLogin ? true , ... }: @@ -263,6 +264,7 @@ let ''} + ${lib.optionalString shutdownOnAdminLogin '' 1 @@ -270,6 +272,7 @@ let ChangeHideFiles + ''} -- 2.42.0