trust-dns: apply PR feedback

This commit is contained in:
Colin 2023-07-15 09:07:57 +00:00
parent 77e5f82b31
commit 29b53d934f
2 changed files with 6 additions and 4 deletions

View File

@ -9,6 +9,8 @@
config.sane.hosts.by-name."servo".lan-ip
"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.debug = true;
@ -99,9 +101,9 @@
'';
systemd.services.trust-dns.serviceConfig = {
# ReadWritePaths = [ "/var/lib/trust-dns" ];
DynamicUser = lib.mkForce false;
StateDirectory = "trust-dns";
User = "trust-dns";
Group = "trust-dns";
};
users.groups.trust-dns = {};
users.users.trust-dns = {

View File

@ -225,8 +225,8 @@ in [
(fetchpatch' {
title = "nixos/trust-dns: init";
prUrl = "https://github.com/NixOS/nixpkgs/pull/243244";
saneCommit = "4c801fa25278faceb1ccb0273bc58111bfb3d42e";
hash = "sha256-CCj7qInTFkJrVBNbP9DJQYYsjWFvEyMlysuyYqoLG1k=";
saneCommit = "62e1ad47d09ac21901b43355b3c81ed5a1eede60";
hash = "sha256-cTqpmpIDUwdrlIPM8MWmylnxpv+x6qEcZ8ssJJVvgL8=";
})
# (fetchpatch' {