refactor(nixos): inline RomM service UIDs
This commit is contained in:
@@ -5,8 +5,6 @@
|
||||
}:
|
||||
let
|
||||
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
|
||||
{
|
||||
options.modules.services.romm = {
|
||||
@@ -48,8 +46,8 @@ in
|
||||
};
|
||||
|
||||
users.users = {
|
||||
romm.uid = rommUid;
|
||||
redis-romm.uid = redisUid;
|
||||
romm.uid = config.registry."stable-uid".${config.networking.hostName}.romm;
|
||||
redis-romm.uid = config.registry."stable-uid".${config.networking.hostName}."redis-romm";
|
||||
};
|
||||
})
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user