Files
nixos-setup/Justfile
T
2025-08-22 16:52:41 -04:00

26 lines
486 B
Makefile

set shell := ["zsh", "-cu"]
default:
just --list
build:
nh os build
switch:
nh os switch
rollback:
sudo nixos-rebuild switch --rollback
update input_name="":
if [ ! -z {{input_name}} ]; then \
echo "just updating... {{input_name}}"; \
nix flake update {{input_name}}; \
else \
echo "updating all..."; \
nix flake update; \
fi
git diff flake.lock
remote cmd target:
./bin/extra/build-remote-nixos {{target}} {{cmd}}