try to change unbound uid gid
This commit is contained in:
@@ -17,7 +17,6 @@ in
|
||||
};
|
||||
|
||||
security.acme.certs."${domain}" = {
|
||||
domain = "${domain}";
|
||||
group = "nginx";
|
||||
};
|
||||
|
||||
|
||||
@@ -130,9 +130,18 @@ let
|
||||
];
|
||||
};
|
||||
in {
|
||||
users.users.unbound = {
|
||||
group = "unbound";
|
||||
isSystemUser = true;
|
||||
uid = config.ids.uids.unbound;
|
||||
};
|
||||
users.groups.unbound = {
|
||||
gid = config.ids.gids.unbound;
|
||||
}
|
||||
|
||||
security.acme.certs."${domain}" = {
|
||||
domain = "${domain}";
|
||||
group = "996";
|
||||
group = "unbound";
|
||||
};
|
||||
|
||||
containers.unbound = {
|
||||
@@ -164,6 +173,14 @@ in {
|
||||
allowedTCPPorts = [ 853 ];
|
||||
};
|
||||
};
|
||||
users.users.unbound = {
|
||||
group = "unbound";
|
||||
isSystemUser = true;
|
||||
uid = config.ids.uids.unbound;
|
||||
};
|
||||
users.groups.unbound = {
|
||||
gid = config.ids.gids.unbound;
|
||||
}
|
||||
services.unbound = {
|
||||
enable = true;
|
||||
settings = cfg;
|
||||
|
||||
Reference in New Issue
Block a user