aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-12-14 13:20:44 -0800
committerFranck Cuny <franck@fcuny.net>2025-12-14 13:20:44 -0800
commit7e7e42b4d58e90466c9f8926c3804aa23be47877 (patch)
tree5e00f916b895a91a89d1ec3f048e196da6510e70 /justfile
parentsimplify path structures for machines (diff)
downloadinfra-7e7e42b4d58e90466c9f8926c3804aa23be47877.tar.gz
display the git SHA for the nixos version in MOTD
Diffstat (limited to '')
-rw-r--r--justfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/justfile b/justfile
index 81bf05f..7f62818 100644
--- a/justfile
+++ b/justfile
@@ -42,6 +42,7 @@ rbuild hostname:
[group('linux')]
rswitch hostname:
@echo "switching {{hostname}} to new config..."
+ nixos-rebuild switch --keep-going --flake ".#{{hostname}}" --target-host {{hostname}} --fast --use-remote-sudo --use-substitutes
# sync agenix key from 1password
[group('secrets')]