31 lines
592 B
Nix
31 lines
592 B
Nix
{
|
|
config,
|
|
...
|
|
}:
|
|
{
|
|
imports = [
|
|
./secret-config.nix
|
|
];
|
|
|
|
sops.secrets.dyndns = {
|
|
format = "dotenv";
|
|
sopsFile = ./dyndns.env;
|
|
owner = config.systemd.services.dyndns.serviceConfig.User;
|
|
};
|
|
sops.secrets.vaultwarden = {
|
|
format = "dotenv";
|
|
sopsFile = ./vaultwarden.env;
|
|
owner = config.systemd.services.vaultwarden.serviceConfig.User;
|
|
};
|
|
sops.secrets.domain = {
|
|
format = "json";
|
|
sopsFile = ./secret-config.json;
|
|
mode = 0444;
|
|
};
|
|
sops.secrets.publicKeys = {
|
|
format = "json";
|
|
sopsFile = ./secret-config.json;
|
|
mode = 0444;
|
|
};
|
|
}
|