infrastructure/nixos-configurations/lindberg-nextcloud/secrets.nix

18 lines
334 B
Nix
Raw Normal View History

2024-10-02 15:52:04 +02:00
{ ... }:
let
backupConfiguration = {
restartUnits = [
2024-12-06 13:04:04 +01:00
"borgbackup-job-system-cyprianspitz.service"
2024-10-02 15:52:04 +02:00
"borgbackup-job-system-tierberg.service"
];
};
in
{
sops.secrets = {
"backup/system/password" = backupConfiguration;
"backup/system/ssh-key" = backupConfiguration;
"nextcloud/admin" = { };
};
}