nixos/gammu-smsd: define group, fix after #133166
This commit is contained in:
parent
ca2db671ba
commit
9e94e48b94
|
@ -258,7 +258,7 @@ in
|
||||||
rspamd = 225;
|
rspamd = 225;
|
||||||
# rmilter = 226; # unused, removed 2019-08-22
|
# rmilter = 226; # unused, removed 2019-08-22
|
||||||
cfdyndns = 227;
|
cfdyndns = 227;
|
||||||
gammu-smsd = 228;
|
# gammu-smsd = 228; #dynamically allocated as of 2021-09-17
|
||||||
pdnsd = 229;
|
pdnsd = 229;
|
||||||
octoprint = 230;
|
octoprint = 230;
|
||||||
avahi-autoipd = 231;
|
avahi-autoipd = 231;
|
||||||
|
|
|
@ -202,8 +202,8 @@ in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
users.users.${cfg.user} = {
|
users.users.${cfg.user} = {
|
||||||
description = "gammu-smsd user";
|
description = "gammu-smsd user";
|
||||||
uid = config.ids.uids.gammu-smsd;
|
isSystemUser = true;
|
||||||
extraGroups = [ "${cfg.device.group}" ];
|
group = cfg.device.group;
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with cfg.backend; [ gammuPackage ]
|
environment.systemPackages = with cfg.backend; [ gammuPackage ]
|
||||||
|
|
Loading…
Reference in a new issue