Configure host to use SSH certs on the host and client side.
This commit is contained in:
parent
a872e6f395
commit
55eb37bb47
10 changed files with 129 additions and 3 deletions
7
justfile
7
justfile
|
@ -4,5 +4,8 @@ default:
|
|||
build_nixos_config host_type="code":
|
||||
nix build .#nixosConfigurations.{{host_type}}.config.system.build.toplevel
|
||||
|
||||
nixify_host hostname host_type="code":
|
||||
nix run github:nix-community/nixos-anywhere -- --flake .#{{host_type}} --target-host root@{{hostname}}
|
||||
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}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue