secrets.yaml: move ssh host keys
This commit is contained in:
parent
2f94a01687
commit
907a7082ad
8 changed files with 16 additions and 163 deletions
4
tasks.py
4
tasks.py
|
@ -162,9 +162,9 @@ def decrypt_host_key(flake_attr: str, tmpdir: str) -> None:
|
|||
[
|
||||
"sops",
|
||||
"--extract",
|
||||
'["ssh_host_ed25519_key"]',
|
||||
f'["ssh_host_ed25519_key"]["{flake_attr}"]',
|
||||
"--decrypt",
|
||||
f"{ROOT}/hosts/{flake_attr}/secrets.yaml",
|
||||
f"{ROOT}/secrets.yaml",
|
||||
],
|
||||
check=True,
|
||||
stdout=fh,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue