This commit is contained in:
Eduard Tolosa 2021-01-20 00:59:53 -05:00
parent bba39ad1f9
commit 0f36c4af34
12 changed files with 51 additions and 29 deletions

View file

@ -0,0 +1,10 @@
[NetDev]
Name=bond1
Kind=bond
[Bond]
Mode=active-backup
PrimaryReselectPolicy=always
TransmitHashPolicy=layer3+4
MIIMonitorSec=1s
LACPTransmitRate=fast

View file

@ -0,0 +1,5 @@
[Match]
Name=bond1
[Network]
DHCP=ipv4

View file

@ -1,12 +1,7 @@
[Match]
Name=enp2s0
Name=en*
[Network]
DHCP=ipv4
DNS=9.9.9.9
DNSOverTLS=opportunistic
DNSSEC=true
[DHCP]
RouteMetric=10
UseDNS=no
Bond=bond1
LinkLocalAddressing=no
PrimarySlave=true

View file

@ -0,0 +1,5 @@
[Match]
Name=en*
[Network]
DHCP=ipv4

View file

@ -1,12 +1,6 @@
[Match]
Name=wlp3s0
Driver=rtl8192eu
[Network]
DHCP=ipv4
DNS=9.9.9.9
DNSOverTLS=opportunistic
DNSSEC=true
[DHCP]
RouteMetric=20
UseDNS=no
LinkLocalAddressing=no
Bond=bond1

View file

@ -0,0 +1,5 @@
[Match]
Name=wl*
[Network]
DHCP=ipv4

View file

@ -1,12 +1,5 @@
[Match]
Name=wlp0s20f0u2
Driver=mt76x2u
[Network]
DHCP=ipv4
DNS=9.9.9.9
DNSOverTLS=opportunistic
DNSSEC=true
[DHCP]
RouteMetric=30
UseDNS=no

View file

@ -15,3 +15,6 @@ Bind=/dev/nvidia-uvm-tools
Bind=/run/user/1000/pulse/native:/tmp/pulse_server
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
BindReadOnly=/tmp/.X11-unix
[Network]
VirtualEthernet=false

View file

@ -1,7 +1,7 @@
[Exec]
Boot=true
Capability=CAP_NET_ADMIN
PrivateUsers=no
PrivateUsers=false
[Files]
Bind=/dev/dri
@ -15,3 +15,6 @@ Bind=/dev/nvidia-uvm-tools
Bind=/run/user/1000/pulse/native:/tmp/pulse_server
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
BindReadOnly=/tmp/.X11-unix
[Network]
VirtualEthernet=false

View file

@ -15,3 +15,6 @@ Bind=/dev/nvidia-uvm-tools
Bind=/run/user/1000/pulse/native:/tmp/pulse_server
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
BindReadOnly=/tmp/.X11-unix
[Network]
VirtualEthernet=false

View file

@ -1,7 +1,7 @@
[Exec]
Boot=true
Capability=CAP_NET_ADMIN
PrivateUsers=no
PrivateUsers=false
[Files]
Bind=/dev/dri
@ -15,3 +15,6 @@ Bind=/dev/nvidia-uvm-tools
Bind=/run/user/1000/pulse/native:/tmp/pulse_server
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
BindReadOnly=/tmp/.X11-unix
[Network]
VirtualEthernet=false

View file

@ -1,7 +1,7 @@
[Exec]
Boot=true
Capability=CAP_NET_ADMIN
PrivateUsers=no
PrivateUsers=false
[Files]
Bind=/dev/dri
@ -15,3 +15,6 @@ Bind=/dev/nvidia-uvm-tools
Bind=/run/user/1000/pulse/native:/tmp/pulse_server
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
BindReadOnly=/tmp/.X11-unix
[Network]
VirtualEthernet=false