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

View File

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