set export NIXPKGS_ALLOW_UNFREE := "1" default: @just --list os hostname='kansai': git add . rui os switch --hostname {{hostname}} -- --impure home user='ebisu': git add . rui home switch --user {{user}} -- --impure news user='ebisu': rui home news --user {{user}} push message: git add . && git commit -m "{{message}}" && git push origin main commit message: git add . && git commit -m "{{message}}" restore: git restore --staged . && git restore . deploy hostname='himeji' user='root': nixos-rebuild \ --flake .#{{hostname}} \ --target-host {{user}}@{{hostname}} \ --use-remote-sudo \ switch provision ip hostname: doas nix run github:nix-community/nixos-anywhere -- --flake .#{{hostname}} root@{{ip}}