mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-13 10:27:54 +08:00
16 lines
473 B
Nix
16 lines
473 B
Nix
let
|
|
keys =
|
|
(import ../users/config.nix).users.srid.sshKeys
|
|
++ [
|
|
(import ../systems/hetzner/ax101.info.nix).hostKeyPub
|
|
];
|
|
in
|
|
# How I rekey on macOS:
|
|
# agenix -r -i =(op read 'op://Personal/id_rsa/private key')
|
|
{
|
|
"cache-priv-key.age".publicKeys = keys;
|
|
"jenkins-ssh-privkey.age".publicKeys = keys;
|
|
"jenkins-github-app-privkey.age".publicKeys = keys;
|
|
"srid-cachix-auth-token.age".publicKeys = keys;
|
|
"srid-docker-pass.age".publicKeys = keys;
|
|
}
|