summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2023-09-13 06:56:03 -0500
committerGitHub <noreply@github.com>2023-09-13 06:56:03 -0500
commit5f9390646ac7afc216eb8c519cd7a63dfe1045c7 (patch)
tree33e20454a8998848ae9c5c8d20c2c902dbe436e3 /nixos/modules
parent875bcf131002def5556136b862dc8011124e8bb4 (diff)
parenta60936606cd5a58782f6a380a958410b16ebcfdc (diff)
downloadnixpkgs-5f9390646ac7afc216eb8c519cd7a63dfe1045c7.tar
nixpkgs-5f9390646ac7afc216eb8c519cd7a63dfe1045c7.tar.gz
nixpkgs-5f9390646ac7afc216eb8c519cd7a63dfe1045c7.tar.bz2
nixpkgs-5f9390646ac7afc216eb8c519cd7a63dfe1045c7.tar.lz
nixpkgs-5f9390646ac7afc216eb8c519cd7a63dfe1045c7.tar.xz
nixpkgs-5f9390646ac7afc216eb8c519cd7a63dfe1045c7.tar.zst
nixpkgs-5f9390646ac7afc216eb8c519cd7a63dfe1045c7.zip
Merge pull request #254827 from hanleym/trust-dns
trust-dns: 0.22.1 -> 0.23.0
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/networking/trust-dns.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/nixos/modules/services/networking/trust-dns.nix b/nixos/modules/services/networking/trust-dns.nix
index a3b4d12479b..4196d124a2a 100644
--- a/nixos/modules/services/networking/trust-dns.nix
+++ b/nixos/modules/services/networking/trust-dns.nix
@@ -1,5 +1,4 @@
 { config, lib, pkgs, ... }:
-
 let
   cfg = config.services.trust-dns;
   toml = pkgs.formats.toml { };
@@ -55,7 +54,7 @@ in
         defaultText = "pkgs.trust-dns";
         description = mdDoc ''
           Trust-dns package to use.
-          Only `bin/named` need be provided: the other trust-dns utilities (client and resolver) are not needed.
+          Only `bin/trust-dns` need be provided: the other trust-dns utilities (client and resolver) are not needed.
         '';
       };
       quiet = mkOption {
@@ -136,7 +135,7 @@ in
           flags =  (lib.optional cfg.debug "--debug") ++ (lib.optional cfg.quiet "--quiet");
           flagsStr = builtins.concatStringsSep " " flags;
         in ''
-          ${cfg.package}/bin/named --config ${configFile} ${flagsStr}
+          ${cfg.package}/bin/trust-dns --config ${configFile} ${flagsStr}
         '';
         Type = "simple";
         Restart = "on-failure";