1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 20:21:14 +00:00
nixpkgs/nixos/modules
baroncharlus 380cdd8dd7 Add stubby resolver daemon service module (#38667)
* networking/stubby.nix: implementing systemd service module for stubby

This change implements stubby, the DNS-over-TLS stub resolver daemon.
The motivation for this change was the desire to use stubby's
DNS-over-TLS funcitonality in tandem with unbound, which requires
passing certain configuration parameters. This module implements those
config parameters by exposing them for use in configuration.nix.

* networking/stubby.nix: merging back module list

re-merging the module list to remove unecessary changes.

* networking/stubby.nix: removing unecessary capabilities flag

This change removes the unecessary flag for toggling the capabilities
which allows the daemon to bind to low ports.

* networking/stubby.nix: adding debug level logging bool

Adding the option to turn on debug logging.

* networking/stubby.nix: clarifying idleTimeout and adding systemd target

Improving docs to note that idleTimeout is expressed in ms. Adding the
nss-lookup `before' target to the systemd service definition.

* networking/stubby.nix: Restrict options with types.enum

This change restricts fallbackProtocol and authenticationMode to accept
only valid options instead of any list or str types (respectively). This
change also fixes typo in the CapabilityBoundingSet systemd setting.

* networking/stubby.nix: cleaning up documentation

Cleaning up docs, adding literal tags to settings, and removing
whitespace.

* networking/stubby.nix: fixing missing linebreak in comments

* networking/stubby.nix: cleaning errant comments
2018-05-16 15:16:30 +02:00
..
config iproute2: module to create rt_table file & co 2018-05-15 21:55:04 +09:00
hardware Merge branch 'master' into staging 2018-04-10 09:13:36 +02:00
i18n/input-method Added cross-references to NixOS manual 2018-04-12 09:39:14 +10:00
installer nixos/tests: prevent stateVersion warnings in eval 2018-05-15 00:22:35 +02:00
misc nixos: version: produce a warning when no system.nixos.stateVersion is explicitly set 2018-05-12 19:27:10 +00:00
profiles base profile: add mkpasswd to system packages 2018-05-09 00:20:02 +03:00
programs Merge pull request #40223 from jD91mZM2/shouldnt-we-just-use-the-pam-environment-file-instead 2018-05-16 00:52:31 -05:00
security manual: Clarify that limits.conf doesn't apply to systemd services. (#40267) 2018-05-12 17:44:57 +02:00
services Add stubby resolver daemon service module (#38667) 2018-05-16 15:16:30 +02:00
system Merge pull request #39978 from hedning/plymouth-quit-wait 2018-05-15 14:28:47 -05:00
tasks lxd: 2.16 -> 3.0.0 2018-04-14 11:02:24 +01:00
testing nixos/tests: set default stateVersion in test VMs 2018-05-14 00:01:15 +02:00
virtualisation nixos: rename system.{stateVersion,defaultChannel} -> system.nixos.\1 2018-05-12 19:27:09 +00:00
module-list.nix Add stubby resolver daemon service module (#38667) 2018-05-16 15:16:30 +02:00
rename.nix nixos: rename system.{stateVersion,defaultChannel} -> system.nixos.\1 2018-05-12 19:27:09 +00:00