diff options
Diffstat (limited to 'justfile')
| -rw-r--r-- | justfile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4,6 +4,7 @@ default: os hostname='kansai': #!/usr/bin/env sh + if command -v doas &> /dev/null; then SUPERUSER_COMMAND=doas else @@ -13,7 +14,7 @@ os hostname='kansai': if ! command -v nh &> /dev/null; then $SUPERUSER_COMMAND nixos-rebuild switch --flake .#{{hostname}} else - FLAKE="$(pwd)" nh home switch -- --impure + FLAKE="$(pwd)" nh os switch fi home user='ebisu': |