20 lines
457 B
Makefile
20 lines
457 B
Makefile
# Hide the default option from the recipes list
|
|
_default: print-recipes
|
|
|
|
find-results:
|
|
find . -name '*result*'
|
|
|
|
print-recipes:
|
|
@just --list
|
|
|
|
update:
|
|
nix flake update
|
|
|
|
alias build := build-nixos
|
|
# Build a NixOS configuration
|
|
build-nixos host=`hostname`:
|
|
nixos-rebuild build --flake .#{{host}}
|
|
|
|
# nix-diff with some parameters piped to less
|
|
nix-diff left right:
|
|
nix-diff --color=always --skip-already-compared {{left}} {{right}} | less -F
|