refactor(nixos): inline RomM service UIDs
This commit is contained in:
@@ -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";
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user