20 lines
369 B
Nix
20 lines
369 B
Nix
|
{ ... }:
|
||
|
let
|
||
|
backupConfiguration = {
|
||
|
restartUnits = [
|
||
|
"borgbackup-job-data-fulberg.service"
|
||
|
"borgbackup-job-data-tierberg.service"
|
||
|
];
|
||
|
};
|
||
|
in
|
||
|
|
||
|
{
|
||
|
sops.secrets = {
|
||
|
"tailscale/key" = {
|
||
|
restartUnits = [ "tailscale.service" ];
|
||
|
};
|
||
|
"backup/data/password" = backupConfiguration;
|
||
|
"backup/data/ssh-key" = backupConfiguration;
|
||
|
};
|
||
|
}
|