mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-07 16:47:23 +08:00
12 lines
278 B
Nix
12 lines
278 B
Nix
let
|
|
keys =
|
|
(import ../users/config.nix).users.ssrid.sshKeys
|
|
++ [
|
|
(import ../systems/hetzner/ax41.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;
|
|
}
|