try
This commit is contained in:
parent
a14e17f92a
commit
7bbca7d2ae
2 changed files with 6 additions and 6 deletions
|
|
@ -5,7 +5,7 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
||||||
options.config.cids = {
|
options.services.cids = {
|
||||||
uids = mkOption {
|
uids = mkOption {
|
||||||
readOnly = true;
|
readOnly = true;
|
||||||
description = lib.mdDoc ''
|
description = lib.mdDoc ''
|
||||||
|
|
@ -23,7 +23,7 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
config = {
|
config = {
|
||||||
cids = {
|
services.cids = {
|
||||||
uids = {
|
uids = {
|
||||||
unbound = 10001;
|
unbound = 10001;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -133,10 +133,10 @@ in {
|
||||||
users.users.unbound = {
|
users.users.unbound = {
|
||||||
group = "unbound";
|
group = "unbound";
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
uid = config.cids.uids.unbound;
|
uid = config.services.cids.uids.unbound;
|
||||||
};
|
};
|
||||||
users.groups.unbound = {
|
users.groups.unbound = {
|
||||||
gid = config.cids.gids.unbound;
|
gid = config.services.cids.gids.unbound;
|
||||||
};
|
};
|
||||||
|
|
||||||
security.acme.certs."${domain}" = {
|
security.acme.certs."${domain}" = {
|
||||||
|
|
@ -175,10 +175,10 @@ in {
|
||||||
users.users.unbound = {
|
users.users.unbound = {
|
||||||
group = "unbound";
|
group = "unbound";
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
uid = config.cids.uids.unbound;
|
uid = config.services.cids.uids.unbound;
|
||||||
};
|
};
|
||||||
users.groups.unbound = {
|
users.groups.unbound = {
|
||||||
gid = config.cids.gids.unbound;
|
gid = config.services.cids.gids.unbound;
|
||||||
};
|
};
|
||||||
services.unbound = {
|
services.unbound = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue