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

18 lines
329 B
Nix
Raw Normal View History

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