nixpkgs/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 nixos/systemd-boot: Use os.path.realpath to fully resolve symlinks 2021-06-24 17:52:03 +02:00
binfmt.nix nixos/binfmt: add bash to sandboxPaths 2021-01-24 22:47:59 -06:00
emergency-mode.nix nixos/*: editorconfig fixes 2020-08-08 10:54:16 +10:00
grow-partition.nix utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
initrd-network.nix nixos/initrd-network: fix /etc/resolv.conf when multiple dns servers from DHCP 2020-10-19 21:32:58 -07:00
initrd-openvpn.nix treewide: fix eval without aliases after 9378fdf87e 2021-04-08 13:33:09 +02:00
initrd-ssh.nix nixos/initrd-ssh: set more defensive pemissions on sshd test key 2020-09-30 15:47:49 +02:00
kernel_config.nix linux: make sure all config options have the same value 2021-03-07 18:27:14 +01:00
kernel.nix nixos/boot: properly override the kernel in boot.kernelPatches 2021-05-31 12:10:19 +02:00
kexec.nix lib.meta: introduce availableOn 2021-04-02 19:20:23 +08:00
luksroot.nix modules/luksroot: add note about AE to allowDiscards 2021-07-01 23:37:07 +02:00
modprobe.nix nixos/modprobe: Fix modprobe configuration manpage link 2020-07-06 13:50:11 -07:00
networkd.nix nixos/networkd: add missing [DHCPServer] options 2021-05-17 18:30:37 +02:00
pbkdf2-sha512.c nixos/boot: add final newline to pbkdf2-sha512.c 2020-11-09 11:39:28 +00:00
plymouth.nix nixos/plymouth: use white nixos logo 2021-02-25 16:46:03 -05:00
resolved.nix nixos/systemd: fix NSS database ordering 2021-07-17 23:55:35 +02:00
shutdown.nix utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
stage-1-init.sh stage-1: accept init symlinks at any level 2021-02-25 15:58:18 -05:00
stage-1.nix nixos/stage-1: make cpio quiet 2021-03-10 17:46:53 +01:00
stage-2-init.sh systemd: allow custom unit folders to be configured with SYSTEMD_UNIT_PATH 2021-03-22 20:41:12 +01:00
stage-2.nix systemd: allow custom unit folders to be configured with SYSTEMD_UNIT_PATH 2021-03-22 20:41:12 +01:00
systemd-lib.nix Revert "nixos/systemd: Handle template overrides" 2021-03-19 09:05:33 +01:00
systemd-nspawn.nix nixos/modules: remove trailing whitespace 2020-08-07 14:45:39 +01:00
systemd-unit-options.nix nixos/modules: fix systemd start rate-limits 2020-10-31 01:35:56 -07:00
systemd.nix nixos/systemd: fix NSS database ordering 2021-07-17 23:55:35 +02:00
timesyncd.nix networking, chrony, ntpd, timesyncd: add timeServers option type 2021-01-20 10:54:24 +01:00
tmp.nix modules/boot: Specify the type for tmpfs mounts 2021-01-09 15:32:17 +01:00