]> Git — Sourcephile - sourcephile-nix.git/blob - hosts/losurdo/switch
mermet: acme: reenable dnsPropagationCheck, gandi.net fixed the issue
[sourcephile-nix.git] / hosts / losurdo / switch
1 #!/bin/sh -eux
2 cd "${0%/*}"/../..
3 host=losurdo
4 #chmod -R g-rwx,o-rwx "$PWD"/private/hosts/*/root
5 #ln -sfn "$PWD/private/hosts/$host/root" /root/private
6 #trap 'git reset private/hosts/*/root' EXIT
7 #git rm -rf --cached --ignore-unmatch private/hosts/*/root # prevent copying to /nix/store
8 nix -L run .#$host.switch "$@"