Update networkd configuration
This commit is contained in:
@ -54,7 +54,7 @@
|
|||||||
"network": {
|
"network": {
|
||||||
"format": "<span font=\"FontAwesome\"></span> {ipaddr}",
|
"format": "<span font=\"FontAwesome\"></span> {ipaddr}",
|
||||||
"format-disconnected": "<span font=\"FontAwesome\"></span> ",
|
"format-disconnected": "<span font=\"FontAwesome\"></span> ",
|
||||||
"interface": "enp10s0",
|
"interface": "enp8s0",
|
||||||
"tooltip-format": "{ifname} via {gwaddr}"
|
"tooltip-format": "{ifname} via {gwaddr}"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -23,6 +23,7 @@ in {
|
|||||||
# Main Networks
|
# Main Networks
|
||||||
systemd.network = {
|
systemd.network = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
wait-online.anyInterface = true; # Don't wait for all networks to be configured, as e.g. wg0 will only be upon manual activation
|
||||||
networks = cfg.networks;
|
networks = cfg.networks;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
networks = {
|
networks = {
|
||||||
# This should override the default network 50-ether
|
# This should override the default network 50-ether
|
||||||
"10-ether-2_5G" = mylib.networking.mkStaticSystemdNetwork {
|
"10-ether-2_5G" = mylib.networking.mkStaticSystemdNetwork {
|
||||||
interface = "enp10s0";
|
interface = "enp8s0";
|
||||||
ip = ["192.168.86.50/24"];
|
ip = ["192.168.86.50/24"];
|
||||||
router = ["192.168.86.5"];
|
router = ["192.168.86.5"];
|
||||||
nameserver = ["192.168.86.25"];
|
nameserver = ["192.168.86.25"];
|
||||||
|
Reference in New Issue
Block a user