Compare commits
2 Commits
bdc3d38f38
...
14eadfd653
Author | SHA1 | Date |
---|---|---|
coolneng | 14eadfd653 | |
coolneng | c42d36bb5e |
|
@ -38,11 +38,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1650831523,
|
"lastModified": 1651007983,
|
||||||
"narHash": "sha256-6pDZ08SAXsUx5rOP391x+TG39ENP/XA8VMa1tQvgEjc=",
|
"narHash": "sha256-GNay7yDPtLcRcKCNHldug85AhAvBpTtPEJWSSDYBw8U=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "87d34a6b8982e901b8e50096b8e79ebc0e66cda0",
|
"rev": "e10da1c7f542515b609f8dfbcf788f3d85b14936",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -21,6 +21,10 @@
|
||||||
};
|
};
|
||||||
systemd.services."systemd-networkd-wait-online".enable = false;
|
systemd.services."systemd-networkd-wait-online".enable = false;
|
||||||
|
|
||||||
|
# Prioritize ethernet over WiFi
|
||||||
|
systemd.network.networks."40-enp0s31f6".dhcpV4Config.RouteMetric = 10;
|
||||||
|
systemd.network.networks."40-wlan0".dhcpV4Config.RouteMetric = 20;
|
||||||
|
|
||||||
# Static IP for home network
|
# Static IP for home network
|
||||||
systemd.network.networks."24-home" = {
|
systemd.network.networks."24-home" = {
|
||||||
name = "wlan0";
|
name = "wlan0";
|
||||||
|
|
Loading…
Reference in New Issue