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 + ''}