Talk:WireGuard: Difference between revisions
imported>Devvythelopper mNo edit summary |
imported>Nrbray m Addition of networking.useNetworkd = true; to systemd section |
||
Line 17: | Line 17: | ||
It would be really cool to have examples for nftables as well, preferably with conf files... | It would be really cool to have examples for nftables as well, preferably with conf files... | ||
--[[User:Devvythelopper|Devvythelopper]] ([[User talk:Devvythelopper|talk]]) 14:32, 18 May 2019 (UTC) | --[[User:Devvythelopper|Devvythelopper]] ([[User talk:Devvythelopper|talk]]) 14:32, 18 May 2019 (UTC) | ||
## Regarding my addition: | |||
``` | |||
networking.useNetworkd = true; | |||
``` | |||
avoids error: | |||
``` | |||
trace: warning: The combination of `systemd.network.enable = true` [wireguard], `networking.useDHCP = true` and `networking.useNetworkd = false` can cause both networkd and dhcpcd to manage the same interfaces. This can lead to loss of networking. It is recommended you choose only one of networkd (by also enabling `networking.useNetworkd`) or scripting (by disabling `systemd.network.enable`) | |||
``` | |||
Some hint found here: https://discourse.nixos.org/t/systemd-services/31546/2 |