1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 23:00:39 +02:00

chore: persist adguardhome state

This commit is contained in:
oddlama 2023-07-06 02:49:32 +02:00
parent 3f6286ef31
commit 554d25d94b
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
2 changed files with 10 additions and 0 deletions

View file

@ -157,6 +157,14 @@
group = "telegraf";
mode = "0700";
}
]
++ lib.optionals config.services.adguardhome.enable [
{
directory = "/var/lib/adguardhome";
user = "adguardhome";
group = "adguardhome";
mode = "0700";
}
];
};
}