autounattend: make shutdownOnAdminLogin configurable
parent
f1b52c0da7
commit
5df687524a
|
@ -15,6 +15,7 @@
|
|||
, impureShellCommands ? []
|
||||
, driveLetter ? "D:"
|
||||
, efi ? true
|
||||
, shutdownOnAdminLogin ? true
|
||||
, ...
|
||||
}:
|
||||
|
||||
|
@ -263,6 +264,7 @@ let
|
|||
</AutoLogon>
|
||||
''}
|
||||
|
||||
${lib.optionalString shutdownOnAdminLogin ''
|
||||
<FirstLogonCommands>
|
||||
<SynchronousCommand wcm:action="add">
|
||||
<Order>1</Order>
|
||||
|
@ -270,6 +272,7 @@ let
|
|||
<Description>ChangeHideFiles</Description>
|
||||
</SynchronousCommand>
|
||||
</FirstLogonCommands>
|
||||
''}
|
||||
|
||||
</component>
|
||||
</settings>
|
||||
|
|
Loading…
Reference in New Issue