refactor(copyparty): inline guest state mount path

This commit is contained in:
2026-10-13 12:00:03 -04:00
parent 5f1943160e
commit 6d8c8f67f4

View File

@@ -5,7 +5,6 @@
}:
let
cfg = config.guests.copyparty; # NOLINT(let_order)
stateDir = "/var/lib/copyparty";
in
{
options.guests.copyparty = {
@@ -110,7 +109,7 @@ in
};
mounts = {
${stateDir} = {
${"/var/lib/copyparty"} = {
directory = cfg.statePath;
owner = config.registry."stable-uid".${config.networking.hostName}.copyparty;
group = "storage";