demo-image: use empty installCommands for impureMode

pull/10/head
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";
# 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