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

17 lines
334 B
Nix

{ ... }:
let
backupConfiguration = {
restartUnits = [
"borgbackup-job-system-cyprianspitz.service"
"borgbackup-job-system-tierberg.service"
];
};
in
{
sops.secrets = {
"backup/system/password" = backupConfiguration;
"backup/system/ssh-key" = backupConfiguration;
"nextcloud/admin" = { };
};
}