This commit is contained in:
TheWanderingCrow 2025-09-28 21:19:04 -04:00
parent 2f2adad29d
commit 2e3e1ec3b2

View file

@ -1,9 +1,17 @@
alias b := build
alias r := rebuild
alias u := update
alias us := update-secret
default: default:
just -l just -l
# Build the system and diff # Build the system and diff
build: build:
nixos-rebuild build --flake . && nvd diff /run/current-system ./result nixos-rebuild build --flake . && nvd diff /run/current-system ./result
[confirm('Rebuild the system?')]
rebuild:
sudo nixos-rebuild switch --flake .
# Update all flake inputs # Update all flake inputs
update: update:
nix flake update --commit-lock-file nix flake update --commit-lock-file