infrastructure/nixos-configurations/lindberg/secrets.nix
Fabian Hauser e6f9fc1371
All checks were successful
CI / build (push) Successful in 2m31s
Remove tierberg
2024-12-23 22:10:41 +02:00

18 lines
329 B
Nix

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