feat: deploy droppie root user ssh private key via nix

b12f
Benjamin Bädorf 2023-07-20 23:36:40 +02:00
parent c04be07044
commit 519963707a
No known key found for this signature in database
GPG Key ID: 4406E80E13CD656C
3 changed files with 9 additions and 0 deletions

View File

@ -48,5 +48,12 @@ in {
mode = "400";
owner = "root";
};
age.secrets."droppie-ssh-root.key" = {
file = "${self}/secrets/droppie-ssh-root.key";
path = "/home/${psCfg.user.name}/.ssh/id_ed25519";
mode = "400";
owner = psCfg.user.name;
};
};
}

Binary file not shown.

View File

@ -49,6 +49,8 @@ in {
"dyndns-droppie.key".publicKeys = droppieKeys ++ baseKeys;
"droppie-ssh-root.key".publicKeys = droppieKeys ++ baseKeys;
"mopidy.conf".publicKeys = chocolatebarKeys ++ biolimoKeys ++ baseKeys;
"b12f-env-secrets".publicKeys = biolimoKeys ++ chocolatebarKeys ++ baseKeys;