demo-image: use empty installCommands for impureMode

This commit is contained in:
Astro 2021-04-10 23:11:19 +02:00
parent 9f8a1b6e17
commit 78c9363b64
1 changed files with 7 additions and 4 deletions

View File

@ -37,7 +37,10 @@ wfvm.makeWindowsImage {
# administratorPassword = "12345";
# Imperative installation commands, to be installed incrementally
installCommands = with wfvm.layers; [
installCommands =
if impureMode
then []
else with wfvm.layers; [
disable-autosleep disable-autolock disable-firewall
anaconda3 msys2 msvc msvc-ide-unbreak
];