mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
conditional prestart eula
This commit is contained in:
parent
579c635521
commit
123156debf
1 changed files with 3 additions and 1 deletions
|
|
@ -83,7 +83,9 @@
|
|||
UMask = "0077";
|
||||
};
|
||||
preStart = ''
|
||||
if [ ! -e "eula.txt" ]; then
|
||||
echo "eula=true" > eula.txt
|
||||
fi
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue