1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/nixos/modules/services
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
..
admin
amqp nixos/rabbitmq: use port type 2021-06-18 17:26:27 +02:00
audio slimserver: Fix user creation 2021-07-01 11:33:38 +02:00
backup Merge pull request #125696 from hercules-ci/postgresql-backup-only-replace-if-successful 2021-07-07 18:41:57 -05:00
blockchain/ethereum
cluster Merge pull request #125205 from Mic92/token-file 2021-07-15 13:37:04 +01:00
computing
continuous-integration Merge pull request #121841 from Pamplemousse/jenkins-cli 2021-07-06 14:45:29 +00:00
databases nixos/mysql: use port type 2021-06-18 17:26:55 +02:00
desktops nixos/pipewire: add bluez hardware database 2021-07-04 16:20:57 -07:00
development
display-managers
editors nixos/infinoted: use port type 2021-06-18 17:32:03 +02:00
games
hardware nixos/ddccontrol: init 2021-07-08 22:04:40 +02:00
logging
mail nixos/roundcube: Use php74 2021-06-05 15:28:29 +02:00
misc nixos/gitlab: improve psql assertion message 2021-07-12 14:20:20 +02:00
monitoring nixos/prometheus: add password_file option to scrapeConfig's basic_auth (#123252) 2021-07-10 21:18:38 +02:00
network-filesystems nixos/ipfs: replace deprecated command line option 2021-06-30 17:32:38 +02:00
networking nixos/systemd: fix NSS database ordering 2021-07-17 23:55:35 +02:00
printing
scheduling
search
security nixos/vaultwarden: make package configurable (#113216) 2021-07-14 17:20:10 -04:00
system nixos/self-deploy: make nixAttribute nullable (#125617) 2021-06-07 12:44:13 -07:00
torrent
ttys nixos/getty: add missing --keep-baud 2021-06-25 09:56:54 +02:00
video Merge branch 'master' of https://github.com/nixos/nixpkgs 2021-07-13 10:09:12 -07:00
wayland
web-apps nixos/wordpress: nginx support 2021-07-16 08:51:08 +02:00
web-servers Merge master into staging-next 2021-06-30 12:04:22 +00:00
x11 nixos/gdm: expand gdm.autoSuspend description 2021-06-29 19:35:26 -07:00