trust-dns: apply PR feedback
This commit is contained in:
parent
77e5f82b31
commit
29b53d934f
|
@ -9,6 +9,8 @@
|
||||||
config.sane.hosts.by-name."servo".lan-ip
|
config.sane.hosts.by-name."servo".lan-ip
|
||||||
"10.0.1.5"
|
"10.0.1.5"
|
||||||
];
|
];
|
||||||
|
# don't bind to IPv6 until i explicitly test that stack
|
||||||
|
services.trust-dns.settings.listen_addrs_ipv6 = [];
|
||||||
services.trust-dns.quiet = true;
|
services.trust-dns.quiet = true;
|
||||||
# services.trust-dns.debug = true;
|
# services.trust-dns.debug = true;
|
||||||
|
|
||||||
|
@ -99,9 +101,9 @@
|
||||||
'';
|
'';
|
||||||
|
|
||||||
systemd.services.trust-dns.serviceConfig = {
|
systemd.services.trust-dns.serviceConfig = {
|
||||||
# ReadWritePaths = [ "/var/lib/trust-dns" ];
|
|
||||||
DynamicUser = lib.mkForce false;
|
DynamicUser = lib.mkForce false;
|
||||||
StateDirectory = "trust-dns";
|
User = "trust-dns";
|
||||||
|
Group = "trust-dns";
|
||||||
};
|
};
|
||||||
users.groups.trust-dns = {};
|
users.groups.trust-dns = {};
|
||||||
users.users.trust-dns = {
|
users.users.trust-dns = {
|
||||||
|
|
|
@ -225,8 +225,8 @@ in [
|
||||||
(fetchpatch' {
|
(fetchpatch' {
|
||||||
title = "nixos/trust-dns: init";
|
title = "nixos/trust-dns: init";
|
||||||
prUrl = "https://github.com/NixOS/nixpkgs/pull/243244";
|
prUrl = "https://github.com/NixOS/nixpkgs/pull/243244";
|
||||||
saneCommit = "4c801fa25278faceb1ccb0273bc58111bfb3d42e";
|
saneCommit = "62e1ad47d09ac21901b43355b3c81ed5a1eede60";
|
||||||
hash = "sha256-CCj7qInTFkJrVBNbP9DJQYYsjWFvEyMlysuyYqoLG1k=";
|
hash = "sha256-cTqpmpIDUwdrlIPM8MWmylnxpv+x6qEcZ8ssJJVvgL8=";
|
||||||
})
|
})
|
||||||
|
|
||||||
# (fetchpatch' {
|
# (fetchpatch' {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user