WIP: per-machine kopia secrets.

Cleanup unused kopia VM config.
This commit is contained in:
2025-03-11 20:35:10 +00:00
parent 6165d4a2af
commit b294dd2851
12 changed files with 161 additions and 18 deletions

View File

@@ -1,10 +1,16 @@
{ config, ... }:
{
sops = {
defaultSopsFile = ./../../secrets/secrets.yaml;
# sometimes the impermanence bind mount is stopped when sops needs these
age.sshKeyPaths = [
"/persist/etc/ssh/ssh_host_ed25519_key"
"/persist/etc/ssh/ssh_host_rsa_key"
];
defaultSopsFile = ./../../secrets/common.yaml;
secrets = {
kopia = {
sopsFile = ./../../secrets/${config.networking.hostName}.yaml;
};
};
};
}