refactor(nixos): inline RomM service UIDs

This commit is contained in:
2026-10-19 22:58:59 -04:00
parent 9636d52a14
commit 1f36d704d0

View File

@@ -5,8 +5,6 @@
}: }:
let let
cfg = config.modules.services.romm; cfg = config.modules.services.romm;
rommUid = config.registry."stable-uid".${config.networking.hostName}.romm;
redisUid = config.registry."stable-uid".${config.networking.hostName}."redis-romm";
in in
{ {
options.modules.services.romm = { options.modules.services.romm = {
@@ -48,8 +46,8 @@ in
}; };
users.users = { users.users = {
romm.uid = rommUid; romm.uid = config.registry."stable-uid".${config.networking.hostName}.romm;
redis-romm.uid = redisUid; redis-romm.uid = config.registry."stable-uid".${config.networking.hostName}."redis-romm";
}; };
}) })
]; ];