infrastructure/nixos-configurations/lindberg/secrets.nix
Fabian Hauser fef2377502
All checks were successful
CI / build (push) Successful in 13m53s
Commit files for public release
2024-10-02 16:57:36 +03:00

19 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;
};
}