This commit is contained in:
John Lancaster
2024-12-08 16:37:10 -06:00
parent 7a1a40c2ae
commit 3edc60fe84

View File

@@ -26,7 +26,7 @@ in
homeDirectory = "${homePath}"; homeDirectory = "${homePath}";
packages = [ packages = [
(pkgs.writeShellScriptBin "nfs" '' (pkgs.writeShellScriptBin "nfs" ''
sudo nixos-rebuild switch --flake git+file://${homePath}#${hostname} sudo nixos-rebuild switch --flake ${homePath}#${hostname} --impure
'') '')
(pkgs.writeShellScriptBin "init-panoptes" '' (pkgs.writeShellScriptBin "init-panoptes" ''
sudo -u git clone -b ${repoBranch} ${repoURL} /srv/panoptes sudo -u git clone -b ${repoBranch} ${repoURL} /srv/panoptes