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