From 505ba474858724ffd9f7a2c26b5e57d406c276cc Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 9 Feb 2026 21:15:50 -0800 Subject: [PATCH] justfile: add remote-switch recipe for remote NixOS rebuilds Co-Authored-By: Claude Opus 4.6 --- nixos/justfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/justfile b/nixos/justfile index 9304f4e2..64956931 100644 --- a/nixos/justfile +++ b/nixos/justfile @@ -1,5 +1,8 @@ switch *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: nix flake update imalison-taffybar