From b626f5991eae34dfd3fb157ac53c57304b928823 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Sun, 8 Dec 2024 01:33:42 -0500 Subject: [PATCH] exit early from clone config --- kiosk.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/kiosk.nix b/kiosk.nix index 13e6018..299b7d2 100644 --- a/kiosk.nix +++ b/kiosk.nix @@ -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