From fc2ef9344edd2316a51d763afaed036084f992d8 Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Sun, 8 Dec 2024 13:33:04 -0600 Subject: [PATCH] clone script --- homeManagerModules/home.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/homeManagerModules/home.nix b/homeManagerModules/home.nix index 4c4eadb..6613490 100644 --- a/homeManagerModules/home.nix +++ b/homeManagerModules/home.nix @@ -24,6 +24,10 @@ in (pkgs.writeShellScriptBin "nfs" '' sudo nixos-rebuild switch --flake git+file://${homePath}#${hostname} '') + (pkgs.writeShellScriptBin "init" '' + sudo -u git clone -b reorg https://gitea.john-stream.com/john/loki-nix /srv/panoptes + '') + git ]; systemd.user.startServices = "sd-switch";