feat: networking, swayimg, i3blocks
- prefer ethernet over wifi - swayimg migrate to Lua config - i3blocks migrate wifi to network-agnostic
This commit is contained in:
parent
9567af879f
commit
15f8b003e0
6 changed files with 183 additions and 287 deletions
14
etc/systemd/network/20-wired.network
Normal file
14
etc/systemd/network/20-wired.network
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[Match]
|
||||
Name=enp1s0
|
||||
|
||||
[Link]
|
||||
RequiredForOnline=routable
|
||||
|
||||
[Network]
|
||||
DHCP=yes
|
||||
|
||||
[DHCPv4]
|
||||
RouteMetric=100
|
||||
|
||||
[IPv6AcceptRA]
|
||||
RouteMetric=100
|
||||
14
etc/systemd/network/25-wireless.network
Normal file
14
etc/systemd/network/25-wireless.network
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[Match]
|
||||
Name=wlan0
|
||||
|
||||
[Link]
|
||||
RequiredForOnline=routable
|
||||
|
||||
[Network]
|
||||
DHCP=yes
|
||||
|
||||
[DHCPv4]
|
||||
RouteMetric=600
|
||||
|
||||
[IPv6AcceptRA]
|
||||
RouteMetric=600
|
||||
Loading…
Add table
Add a link
Reference in a new issue