fix desktop public key

This commit is contained in:
Nickolaj Jepsen 2025-02-19 20:32:36 +00:00
parent db3dda1f0b
commit 73d096b328
13 changed files with 24 additions and 38 deletions

View file

@ -2,13 +2,13 @@
hostSecrets = ../../../secrets/hosts + ("/" + hostname);
publicKey = builtins.readFile (hostSecrets + "/id_ed25519.pub");
in {
age.identityPaths = ["/etc/ssh/ssh_host_ed25519_key"];
age.rekey = {
storageMode = "local";
hostPubkey = publicKey;
masterIdentities = [
{
identity = ../../../secrets/yubikey-identity.pub;
# pubkey = "age1yubikey1q25a8ax2t0ujv7q5wvpmlpa52h599n6682jprxuftlw4zpxy2xu9s6lhrel";
}
];
extraEncryptionPubkeys = [