ma vbob.r: remove explicit route via systemd

does not work
This commit is contained in:
makefu 2018-01-06 21:07:46 +01:00
parent de01eae264
commit 149aad4cb7
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -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";