webring/justfile

11 lines
431 B
Makefile

default:
@just --list --justfile {{justfile()}}
build_nixos_config host_type="code":
nix build .#nixosConfigurations.{{host_type}}.config.system.build.toplevel
nixify_host hostname host_type="code" extra_names="":
./host_config/bootstrap_host.sh {{host_type}} {{hostname}} {{extra_names}}
sign_user_key username user_pub_key principals="root":
./host_config/sign_user_pub.sh {{username}} {{principals}} {{user_pub_key}}