15 lines
346 B
Nix
15 lines
346 B
Nix
_: {
|
|
### Secrets
|
|
sops = {
|
|
defaultSopsFile = ../../../secrets/sirius.yaml;
|
|
age = {
|
|
# Use the host key for sops
|
|
sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
|
# Where to store the key
|
|
keyFile = "/var/lib/sops-nix/key.txt";
|
|
# Generate the key if it doesn't exist
|
|
generateKey = true;
|
|
};
|
|
};
|
|
}
|