0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 22:20:30 +03:00
nixpkgs/nixos/modules/tasks
Egor Savkin 320b4eac68
network: Fix cycle dependency causing race of netdev and address configuration
This changes the following chain after `nixos-rebuild switch` with modified tunnel interfaces:
stop network-setup -> stop TUN-netdev -> stop network-addresses-TUN -> start network-addresses-TUN (fails since it depends on TUN-netdev which is off).

Chain after this change:
stop TUN-netdev -> stop network-setup -> stop network-addresses-TUN -> start TUN-netdev -> start network-addresses-TUN -> start network-setup

Signed-off-by: Egor Savkin <es@m-labs.hk>
(cherry picked from commit 9354d385e2)
2024-12-14 16:00:04 +01:00
..
filesystems treewide: format all inactive Nix files 2024-12-10 20:29:24 +01:00
auto-upgrade.nix nixos/auto-upgrade: correct typo in assertion message (#295125) 2024-09-25 20:41:02 +03:00
bcache.nix treewide: format all inactive Nix files 2024-12-10 20:29:24 +01:00
cpu-freq.nix treewide: format all inactive Nix files 2024-12-10 20:29:24 +01:00
encrypted-devices.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
filesystems.nix nixos: Support fileSystems.<name>.depends with fstab-generator 2024-08-30 15:18:35 -04:00
lvm.nix treewide: format all inactive Nix files 2024-12-10 20:29:24 +01:00
network-interfaces-scripted.nix network: Fix cycle dependency causing race of netdev and address configuration 2024-12-14 16:00:04 +01:00
network-interfaces-systemd.nix treewide: format all inactive Nix files 2024-12-10 20:29:24 +01:00
network-interfaces.nix treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
powertop.nix treewide: format all inactive Nix files 2024-12-10 20:29:24 +01:00
scsi-link-power-management.nix treewide: format all inactive Nix files 2024-12-10 20:29:24 +01:00
stratis.nix treewide: format all inactive Nix files 2024-12-10 20:29:24 +01:00
swraid.nix treewide: format all inactive Nix files 2024-12-10 20:29:24 +01:00
trackpoint.nix treewide: format all inactive Nix files 2024-12-10 20:29:24 +01:00
tty-backgrounds-combine.sh