justfile: add remote-switch recipe for remote NixOS rebuilds
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
switch *args:
|
switch *args:
|
||||||
sudo nixos-rebuild switch --flake '.#' --impure {{args}}
|
sudo nixos-rebuild switch --flake '.#' --impure {{args}}
|
||||||
|
|
||||||
|
remote-switch host *args:
|
||||||
|
nixos-rebuild switch --flake '.#{{host}}' --target-host {{host}}.local --sudo --impure {{args}}
|
||||||
|
|
||||||
fix-local-path-issue:
|
fix-local-path-issue:
|
||||||
nix flake update imalison-taffybar
|
nix flake update imalison-taffybar
|
||||||
|
|||||||
Reference in New Issue
Block a user