feat: add optional argument to just switch

This commit is contained in:
2026-03-07 20:12:03 +01:00
parent 95bd3dc30a
commit 552196c3f9

View File

@@ -3,8 +3,8 @@ default:
@just --list @just --list
# rebuild and switch # rebuild and switch
switch: switch config="":
nixos-rebuild switch --flake . --sudo nixos-rebuild switch --flake .{{ if config != "" { "#" + config } else { "" } }} --sudo
# fetch flake inputs # fetch flake inputs
sync: sync: