18 lines
329 B
Nix
18 lines
329 B
Nix
|
{ ... }:
|
||
|
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" = { };
|
||
|
};
|
||
|
}
|