infrastructure/nixos-configurations/cyprianspitz/applications/backup.nix
2025-03-25 14:10:54 +02:00

12 lines
231 B
Nix

{ config, ... }:
{
qois.backup-server = {
enable = true;
backupStorageRoot =
let
dataDrive = config.disko.devices.lvm_vg.vg_data.lvs.lv_data.content.mountpoint;
in
dataDrive + "/backup";
};
}