try
This commit is contained in:
parent
7bbca7d2ae
commit
76e8ef8428
3 changed files with 9 additions and 36 deletions
|
|
@ -1,5 +1,6 @@
|
|||
{ config, ... }:
|
||||
let
|
||||
cids = import ../modules/staticids.nix;
|
||||
domain = "ns.cloonar.com";
|
||||
cfg = {
|
||||
server = {
|
||||
|
|
@ -133,10 +134,10 @@ in {
|
|||
users.users.unbound = {
|
||||
group = "unbound";
|
||||
isSystemUser = true;
|
||||
uid = config.services.cids.uids.unbound;
|
||||
uid = cids.uids.unbound;
|
||||
};
|
||||
users.groups.unbound = {
|
||||
gid = config.services.cids.gids.unbound;
|
||||
gid = cids.gids.unbound;
|
||||
};
|
||||
|
||||
security.acme.certs."${domain}" = {
|
||||
|
|
@ -175,10 +176,10 @@ in {
|
|||
users.users.unbound = {
|
||||
group = "unbound";
|
||||
isSystemUser = true;
|
||||
uid = config.services.cids.uids.unbound;
|
||||
uid = cids.uids.unbound;
|
||||
};
|
||||
users.groups.unbound = {
|
||||
gid = config.services.cids.gids.unbound;
|
||||
gid = cids.gids.unbound;
|
||||
};
|
||||
services.unbound = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue