diff --git a/nixos/justfile b/nixos/justfile index b6c15acb..efc6efe7 100644 --- a/nixos/justfile +++ b/nixos/justfile @@ -1,14 +1,5 @@ switch *args: - bash -lc 'if systemctl is-active --quiet nixos-rebuild-switch-to-configuration.service; then \ - echo "nixos-rebuild switch already running; waiting..." >&2; \ - systemctl status nixos-rebuild-switch-to-configuration.service --no-pager >&2 || true; \ - while systemctl is-active --quiet nixos-rebuild-switch-to-configuration.service; do sleep 1; done; \ - fi; \ - env PATH=/run/wrappers/bin:$PATH sudo systemctl reset-failed nixos-rebuild-switch-to-configuration.service >/dev/null 2>&1 || true' - env PATH=/run/wrappers/bin:$PATH sudo nixos-rebuild switch --flake ".#" --impure --option warn-dirty false \ - --override-input imalison-taffybar path:/home/imalison/dotfiles/dotfiles/config/taffybar \ - --override-input taffybar path:/home/imalison/dotfiles/dotfiles/config/taffybar/taffybar \ - {{args}} + sudo nixos-rebuild switch --flake ".#" --impure {{args}} switch-remote *args: # Switch using the remote master flake.