Skip to content

Commit

Permalink
host: opt: network: Added workaround for systemd-networkd-wait-online…
Browse files Browse the repository at this point in the history
….service timing out on generation activation

This is caused by nmcli waiting on the mullvad wiregaurd network device to be up,
which never happens. The workaround is adding the device, wg0-mullvad, to the unmanaged devices list.
Upstream issue is NixOS/nixpkgs#180175 .
  • Loading branch information
aftix committed Nov 5, 2024
1 parent 3bad348 commit e451bb2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion host/opt/network.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ in {
};

networking = {
networkmanager.enable = lib.mkDefault true;
networkmanager = {
enable = lib.mkDefault true;
unmanaged = lib.mkIf config.services.mullvad-vpn.enable ["wg0-mullvad"];
};
firewall = {
enable = true;
checkReversePath = lib.mkDefault false;
Expand Down

0 comments on commit e451bb2

Please sign in to comment.