summaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
Diffstat (limited to 'justfile')
-rw-r--r--justfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/justfile b/justfile
index dc86168..b38e3a3 100644
--- a/justfile
+++ b/justfile
@@ -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':