losurdo: drop gnupg at runtime in favor of systemd-creds
[sourcephile-nix.git] / hosts / losurdo / switch
index a28815a709db9f370c15a74a81edd62a4b66d28b..68382478b5157a0951ba4b56d13a660848691035 100755 (executable)
@@ -3,6 +3,6 @@ cd "${0%/*}"/../..
 host=losurdo
 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 "$@"