Files
nixos-setup/Justfile
T
2025-08-11 13:12:49 -04:00

26 lines
439 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 \
cmd="nix flake update {{input_name}}"; \
else \
cmd="nix flake update"; \
fi
echo $cmd
# $cmd
git diff flake.lock
remote cmd target:
./bin/extra/build-remote-nixos {{target}} {{cmd}}