exit early from clone config
This commit is contained in:
parent
65d1a1c993
commit
b626f5991e
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ in
|
|||
requires = [ "network-online.target" ];
|
||||
path = with pkgs; [ git git-crypt ];
|
||||
script = ''
|
||||
[ -d /etc/nixos/.git ] && exit 0
|
||||
git clone https://git.inx.moe/Infinidoge/kiosk.git /etc/nixos
|
||||
cd /etc/nixos
|
||||
git-crypt unlock /etc/decryption.key
|
||||
|
|
Loading…
Reference in a new issue