Disable password expiry #1
12
wfvm/win.nix
12
wfvm/win.nix
@ -156,7 +156,17 @@ let
|
|||||||
echo "Done"
|
echo "Done"
|
||||||
|
|
||||||
mv c.img $out
|
mv c.img $out
|
||||||
'')) baseImage installCommands;
|
'')) baseImage (
|
||||||
|
[
|
||||||
|
{
|
||||||
|
name = "DisablePasswordExpiry";
|
||||||
|
script = ''
|
||||||
|
win exec 'wmic UserAccount set PasswordExpires=False'
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
] ++
|
||||||
|
installCommands
|
||||||
|
);
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user