nix: rekeyed secrets with more keys

This commit is contained in:
Léana 江 2024-05-11 12:55:41 +02:00 committed by Léana 江
parent ceed2b2ab8
commit 1abfc2934b
5 changed files with 27 additions and 19 deletions

View file

@ -1,12 +1,17 @@
let
leana = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFSXmaAIzatHJL3L0GNK2LU8mmf/gPAhQVZBurNgCx72 leana@nixie";
users = [ leana ];
carbon = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFSXmaAIzatHJL3L0GNK2LU8mmf/gPAhQVZBurNgCx72";
bismuth = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBt+MINzxBF8uyFIuz/UvMZe9Ml+qxU0hxxi7UAmUzpc";
all = [
bismuth
carbon
];
in
{
"wpa_password.age".publicKeys = users;
"wpa_password.age".publicKeys = all;
"sshconfig.age".publicKeys = users;
"sshconfig.age".publicKeys = all;
"wireguard_priv.age".publicKeys = users;
"wireguard_psk.age".publicKeys = users;
"wireguard_priv.age".publicKeys = all;
"wireguard_psk.age".publicKeys = all;
}