mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 16:16:50 +01:00
update
This commit is contained in:
parent
2b7b63a18c
commit
638ef7093e
140 changed files with 307 additions and 121 deletions
|
|
@ -1,20 +0,0 @@
|
|||
{hostname, ...}: let
|
||||
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;
|
||||
}
|
||||
];
|
||||
extraEncryptionPubkeys = [
|
||||
"age1pzrfw28f8qvsk9g8p2stundf4ph466jut0g6q47sse76zljtqy9q2w32zr" # Backup key (bitwarden)
|
||||
];
|
||||
localStorageDir = hostSecrets + /.rekey;
|
||||
generatedSecretsDir = hostSecrets;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue