nix: harmonize with julm-nix
[sourcephile-nix.git] / hosts / losurdo / switch
index 68382478b5157a0951ba4b56d13a660848691035..f5229a33442f1e4a6145eaf70f6bd0c5e9e5e957 100755 (executable)
@@ -1,8 +1,8 @@
 #!/bin/sh -eux
 cd "${0%/*}"/../..
 host=losurdo
-chmod -R g-rwx,o-rwx "$PWD"/private/hosts/*/root
+#chmod -R g-rwx,o-rwx "$PWD"/private/hosts/*/root
 #ln -sfn "$PWD/private/hosts/$host/root" /root/private
-trap 'git reset private/hosts/*/root' EXIT
-git rm -rf --cached --ignore-unmatch private/hosts/*/root # prevent copying to /nix/store
+#trap 'git reset private/hosts/*/root' EXIT
+#git rm -rf --cached --ignore-unmatch private/hosts/*/root # prevent copying to /nix/store
 nix -L run .#$host.switch "$@"