mermet: prosody: more advanced configuration
[sourcephile-nix.git] / hosts / losurdo / switch
index a28815a709db9f370c15a74a81edd62a4b66d28b..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 "$@"