nixpkgs-suyu/nixos/modules/system/boot
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
..
loader
binfmt.nix
emergency-mode.nix
grow-partition.nix
initrd-network.nix
initrd-openvpn.nix
initrd-ssh.nix
kernel.nix
kernel_config.nix
kexec.nix
luksroot.nix modules/luksroot: add note about AE to allowDiscards 2021-07-01 23:37:07 +02:00
modprobe.nix
networkd.nix
pbkdf2-sha512.c
plymouth.nix
resolved.nix nixos/systemd: fix NSS database ordering 2021-07-17 23:55:35 +02:00
shutdown.nix
stage-1-init.sh
stage-1.nix
stage-2-init.sh
stage-2.nix
systemd-lib.nix
systemd-nspawn.nix
systemd-unit-options.nix
systemd.nix nixos/systemd: fix NSS database ordering 2021-07-17 23:55:35 +02:00
timesyncd.nix
tmp.nix