depot/cluster/services/storage/garage-internal.nix

12 lines
179 B
Nix
Raw Permalink Normal View History

2023-08-28 03:32:08 +03:00
let
dataDir = "/srv/storage/private/garage";
in
{
systemd.tmpfiles.rules = [
"d '${dataDir}' 0700 garage garage -"
];
services.garage.settings.data_dir = dataDir;
}