Talk:WireGuard: Difference between revisions

imported>Nrbray
m Addition of networking.useNetworkd = true; to systemd section
imported>Nrbray
m typo
 
(One intermediate revision by the same user not shown)
Line 19: Line 19:




## Regarding my addition:
=== Regarding my addition: ===
```
--[[User:Nrbray|Nrbray]] ([[User talk:Nrbray|talk]]) 10:35, 8 December 2023 (UTC)
 
   networking.useNetworkd = true;
   networking.useNetworkd = true;
```
 
avoids error:
 
```
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`)
 
```
  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
Some hint found here: https://discourse.nixos.org/t/systemd-services/31546/2
Return to "WireGuard" page.