ma vbob.r: remove explicit route via systemd
does not work
This commit is contained in:
parent
de01eae264
commit
149aad4cb7
@ -57,10 +57,7 @@
|
|||||||
networking.localCommands = ''
|
networking.localCommands = ''
|
||||||
ip route add ${gum-ip} via ${Gateway}
|
ip route add ${gum-ip} via ${Gateway}
|
||||||
'';
|
'';
|
||||||
systemd.network.networks.enp0s3.routes = [{
|
|
||||||
inherit Gateway; # TODO
|
|
||||||
Destination = gum-ip;
|
|
||||||
}];
|
|
||||||
networking.wireguard.interfaces.wg0 = {
|
networking.wireguard.interfaces.wg0 = {
|
||||||
ips = [ "10.244.0.3/24" ];
|
ips = [ "10.244.0.3/24" ];
|
||||||
privateKeyFile = (toString <secrets>) + "/wireguard.key";
|
privateKeyFile = (toString <secrets>) + "/wireguard.key";
|
||||||
|
Loading…
Reference in New Issue
Block a user