docs: add comments to just recipes

Changed files
+9 -4
utils
+8 -4
justfile
···
# friendship ended with Makefile
# I LOVE justFILE!!!!!!
-
default: build
test:
nixos-rebuild test --flake .#
-
build:
-
nixos-rebuild build --flake .#
-
switch:
nixos-rebuild switch --flake .#
utils recipe="list":
@echo "Running utils/{{recipe}}"
@cd utils && just {{recipe}}
update-input input:
nix flake lock --update-input {{input}}
ebuild system:
nix build -j8 .#nixosConfigurations."{{system}}".config.system.build.toplevel
···
# friendship ended with Makefile
# I LOVE justFILE!!!!!!
+
# build the current configuration
+
build:
+
nixos-rebuild build --flake .#
+
# build and test the configuration, but don't switch
test:
nixos-rebuild test --flake .#
+
# switch to the current configuration
switch:
nixos-rebuild switch --flake .#
+
# run utility programs
utils recipe="list":
@echo "Running utils/{{recipe}}"
@cd utils && just {{recipe}}
+
# update an input in the flake lockfile
update-input input:
nix flake lock --update-input {{input}}
+
# build the flake on a non-nixos platform
ebuild system:
nix build -j8 .#nixosConfigurations."{{system}}".config.system.build.toplevel
+1
utils/justfile
···
list:
just -l
nitter-token:
{{python_executable}} nitter-guest-account.py tokens.json
···
list:
just -l
+
# grab a new nitter guest account and save it
nitter-token:
{{python_executable}} nitter-guest-account.py tokens.json