refactor(just): rename deploy commands to shorter aliases

- Renamed justfile commands from deploy-* to concise names
- Updated README examples
This commit is contained in:
toast 2026-01-17 12:20:21 +09:00
parent 213ce6601f
commit 3c314ad5bd
2 changed files with 6 additions and 6 deletions

View file

@ -11,8 +11,8 @@ My personal NixOS and home-manager configurations.
```sh
nix develop
just deploy-nixos # Rebuild and switch the current NixOS system on this host
just deploy-home # Apply Home Manager configuration for the current user
just deploy-vps # Rebuild and switch NixOS on the remote VPS
just nixos # Rebuild and switch the current NixOS system on this host
just home # Apply Home Manager configuration for the current user
just vps # Rebuild and switch NixOS on the remote VPS
```

View file

@ -6,13 +6,13 @@ default:
_check-nh:
@command -v nh > /dev/null 2>&1 || echo "nh is not in PATH. Run 'nix develop' first."
deploy-nixos: _check-nh
nixos: _check-nh
nh os switch .
deploy-vps: _check-nh
vps: _check-nh
nh os switch . -H vps --target-host root@vps
deploy-home: _check-nh
home: _check-nh
nh home switch .
update: