1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00
nixpkgs/nixos/modules/config
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
..
fonts Revert "Revert "apparmor: fix and improve the service"" 2021-04-23 07:17:55 +02:00
gtk gtk-icon-cache: get native gtk3 for icon cache 2020-03-06 00:45:48 -05:00
krb5 nixos/krb5: add list to example configuration 2020-08-25 17:18:56 +02:00
xdg nixos/xdg/portal/wlr: init 2021-06-20 11:53:45 +02:00
appstream.nix nixos/modules: remove trailing whitespace 2020-08-07 14:45:39 +01:00
console.nix nixos/console: allow console.font to be a path 2021-06-12 13:24:32 +02:00
debug-info.nix
gnu.nix nixos/modules: stdenv.lib -> lib 2021-01-17 21:40:51 +01:00
i18n.nix treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
iproute2.nix nixos/modules/config/iproute2: avoid using iproute alias 2021-04-20 01:01:33 -07:00
ldap.nix Merge pull request #98731 from mayflower/ldap-nss-optional 2020-12-12 10:53:39 +01:00
locale.nix
malloc.nix Revert "Revert "apparmor: fix and improve the service"" 2021-04-23 07:17:55 +02:00
networking.nix treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
no-x-libs.nix beam-packages: move wxSupport arg up to package set, add beam_nox 2021-01-24 21:04:52 +01:00
nsswitch.nix nixos/systemd: fix NSS database ordering 2021-07-17 23:55:35 +02:00
power-management.nix nixos/power-management: always run systemctl of the currently running systemd 2020-05-21 10:28:29 +02:00
pulseaudio.nix nixos/*: replace alsa* aliases 2021-06-10 09:46:55 +02:00
qt5.nix nixos/qt5: support adwaita-dark theme 2020-04-05 08:38:08 +03:00
resolvconf.nix nixos/resolvconf: always run systemctl of the currently running systemd 2020-05-21 10:29:22 +02:00
shells-environment.nix Removed wrong comment 2021-06-30 21:32:08 +02:00
swap.nix nixos/swap: add discardPolicy option 2021-05-19 21:23:35 +09:00
sysctl.nix
system-environment.nix
system-path.nix nixos/config: move nano to defaultPackages 2021-03-30 11:50:03 +02:00
terminfo.nix
unix-odbc-drivers.nix
update-users-groups.pl nixos/update-users-groups: read access to /etc/shadow for group shadow 2021-03-18 00:08:35 -07:00
users-groups.nix nixos/users-groups: check format of passwd entries 2021-04-22 13:18:38 +00:00
vte.nix nixos: add freedesktop/gnome/myself maintainers 2020-04-01 20:53:09 -04:00
zram.nix nixos/zram: add zramSwap.memoryMax option 2020-11-25 13:43:38 +00:00