nix-config/justfile
jasmine 4b462616bb
docs: update README and add justfile recipes
- Fix typos (necessarily, persistence, ephemeral)
- Add Hosts section describing fuchsia and viridian
- Update and reorganize Features list
  - Add snapper automated snapshots
  - Add Traefik reverse proxy with security middleware
  - Update backup and DNS descriptions
- Add Usage section documenting justfile commands
- Fix repository URL (dotfiles.nix → nix-config)
- Add update and update-input recipes to justfile
2025-12-21 21:45:35 +08:00

17 lines
304 B
Makefile

default:
@just --list
build *ARGS:
nixos-rebuild build --flake .#{{ARGS}}
switch *ARGS:
sudo nixos-rebuild switch --flake .#{{ARGS}}
deploy *ARGS:
nixos-rebuild switch -S --flake .#{{ARGS}} --target-host {{ARGS}}
update:
nix flake update
update-input INPUT:
nix flake update {{INPUT}}