nixpkgs/nixos/modules
Andreas Stührk fc6c92faf3 nixos/nftables: remove default systemd dependencies
With DefaultDependencies enabled, systemd adds "After=basic.target" to
service units. `basic.target` has a dependency on `sockets.target`, so
the `nftables` has (amongst others) the following order constraints:

* Before=network-pre.target
* After=sockets.target

Those constraints are often unsatisfiable. For example, `systemd-networkd`
has a dependency `After=network-pre.target`. When a socket unit now uses
`BindToDevice=` on a device managed by `networkd`, a timeout occurs
because `networkd` waits for `network-pre.target`, but
`network-pre.target` depends (through nftables) on `sockets.target`, but
the device to bind the socket to is never brought up, as this would
happen through `networkd`.

This is fixed by removing the implicit dependency on `basic.target`.
2024-01-31 23:26:05 +01:00
..
config Merge pull request #270727 from nikstur/nixos-perlless-activation 2024-01-22 10:11:44 +01:00
hardware nixos/corectrl: add package option 2024-01-23 15:35:44 -05:00
i18n/input-method nixos/fcitx5: allow using the wayland frontend instead of the fcitx5 one 2024-01-04 15:06:58 -05:00
image image/repart: add version and compression options 2024-01-19 14:43:29 +01:00
installer Merge pull request #279174 from SuperSandro2000/iso-minimal-override 2024-01-14 15:26:29 -05:00
misc Merge pull request #277633 from nikstur/image-repart-improvements 2024-01-19 15:25:08 +01:00
profiles nixos/hardened: update hardened profile to new recommendations 2024-01-27 20:43:58 +00:00
programs Merge pull request #265056 from rgri/init-mouse-actions 2024-01-27 03:47:42 +01:00
security nixos/acme: fix assertion for renamed option 2024-01-19 16:28:56 -05:00
services nixos/nftables: remove default systemd dependencies 2024-01-31 23:26:05 +01:00
system systemd-stage-1: Fix hibernate-resume with systemd v255 2024-01-28 06:52:21 -05:00
tasks Merge pull request #279852 from Madouura/pr/bcachefs 2024-01-25 01:11:04 +01:00
testing nixos/test-instrumentation: use file to set root password 2024-01-18 23:08:13 +01:00
virtualisation Merge pull request #281186 from Sohalt/podman-dns-firewall 2024-01-19 17:01:23 +01:00
module-list.nix nixos/systemd-lock-handler: init 2024-01-27 11:55:46 +02:00
rename.nix