declare sops key directory generate from ssh
This commit is contained in:
@@ -19,7 +19,14 @@ in
|
||||
|
||||
# Secret Management
|
||||
sops = {
|
||||
age.keyFile = "/etc/sops/age/keys.txt";
|
||||
# make sure that the age key is generated from the persisted host key
|
||||
age = {
|
||||
sshKeyPaths = [ "/persist/etc/ssh/ssh_host_ed25519_key" ];
|
||||
keyFile = "/persist/var/lib/sops-nix/key.txt";
|
||||
generateKey = true;
|
||||
};
|
||||
|
||||
# I prefer to use json format for the secrets
|
||||
defaultSopsFormat = "json";
|
||||
|
||||
secrets = {
|
||||
|
||||
Reference in New Issue
Block a user