refactor(registry): add stable uid registry

This commit is contained in:
2026-08-25 10:17:36 -04:00
parent 622d09818f
commit 1850184b76
8 changed files with 187 additions and 91 deletions

View File

@@ -6,7 +6,6 @@
}:
let
cfg = config.guests.copyparty;
serviceUid = my.serviceUid "copyparty";
volumeType = lib.types.submodule {
options = {
@@ -113,7 +112,7 @@ in
${cfg.stateDir} = {
hostPath = cfg.statePath;
create = {
owner = serviceUid;
owner = config.containers.copyparty.config.registry."stable-uid".copyparty.copyparty;
group = "storage";
mode = "0770";
};