nixpkgs/nixos/modules
Florian Klink c1536f5c78 nixos/systemd: fix NSS database ordering
- The order of NSS (host) modules has been brought in line with upstream
  recommendations:

  - The `myhostname` module is placed before the `resolve` (optional) and `dns`
    entries, but after `file` (to allow overriding via `/etc/hosts` /
    `networking.extraHosts`, and prevent ISPs with catchall-DNS resolvers from
    hijacking `.localhost` domains)
  - The `mymachines` module, which provides hostname resolution for local
    containers (registered with `systemd-machined`) is placed to the front, to
    make sure its mappings are preferred over other resolvers.
  - If systemd-networkd is enabled, the `resolve` module is placed before
    `files` and `myhostname`, as it provides the same logic internally, with
    caching.
  - The `mdns(_minimal)` module has been updated to the new priorities.

  If you use your own NSS host modules, make sure to update your priorities
  according to these rules:

  - NSS modules which should be queried before `resolved` DNS resolution should
    use mkBefore.
  - NSS modules which should be queried after `resolved`, `files` and
    `myhostname`, but before `dns` should use the default priority
  - NSS modules which should come after `dns` should use mkAfter.
2021-07-17 23:55:35 +02:00
..
config nixos/systemd: fix NSS database ordering 2021-07-17 23:55:35 +02:00
hardware nixos/system76: fix evaluation 2021-06-26 15:16:59 +02:00
i18n/input-method nixos/fcitx5: autostart with xserver 2021-06-05 09:22:58 +08:00
installer nixos-option: add backwards compatibility layer 2021-07-10 22:32:26 +02:00
misc nixos/gale: remove 2021-06-10 02:33:10 +02:00
profiles Merge pull request #85073 from hyperfekt/systemd-pstore 2021-05-17 00:00:52 +02:00
programs nixos/xwayland: Correctly set the default package 2021-07-15 11:32:06 +02:00
security Merge pull request #121750 from m1cr0man/master 2021-07-06 15:10:54 +02:00
services nixos/systemd: fix NSS database ordering 2021-07-17 23:55:35 +02:00
system nixos/systemd: fix NSS database ordering 2021-07-17 23:55:35 +02:00
tasks nixos/snapraid: init 2021-07-14 19:02:19 +01:00
testing treewide: use perl.withPackages when possible 2021-03-31 21:35:37 +02:00
virtualisation open-vm-tools: 11.2.5 -> 11.3.0 (#129978) 2021-07-14 03:26:58 +02:00
module-list.nix nixos/snapraid: init 2021-07-14 19:02:19 +01:00
rename.nix quagga: remove 2021-04-22 12:48:48 +02:00