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,10 +37,13 @@ wfvm.makeWindowsImage {
# administratorPassword = "12345"; # administratorPassword = "12345";
# Imperative installation commands, to be installed incrementally # Imperative installation commands, to be installed incrementally
installCommands = with wfvm.layers; [ installCommands =
disable-autosleep disable-autolock disable-firewall if impureMode
anaconda3 msys2 msvc msvc-ide-unbreak then []
]; else with wfvm.layers; [
disable-autosleep disable-autolock disable-firewall
anaconda3 msys2 msvc msvc-ide-unbreak
];
# services = { # services = {
# # Enable remote management # # Enable remote management