add then disable lan vlan connection

This commit is contained in:
2026-06-13 19:06:28 -05:00
parent 310b332178
commit f7fecbe8ad
+15 -5
View File
@@ -62,7 +62,7 @@
dnsmasq.enable = true; dnsmasq.enable = true;
# mediastack # mediastack
mediastack.enable = true; mediastack.enable = true;
qbittorrent.vpn_inf = "enp34s0.69"; qbittorrent.vpn_inf = "enp37s0f1.69";
# system # system
backups.enable = true; backups.enable = true;
motd.enable = true; motd.enable = true;
@@ -111,15 +111,25 @@
dns = "systemd-resolved"; # the backup dancer! dns = "systemd-resolved"; # the backup dancer!
ensureProfiles.profiles = { ensureProfiles.profiles = {
vpn = { vpn = {
#ethernet.mac-address = "7a:e4:07:8d:22:76"; ethernet.mac-address = "02:ea:6c:3c:9f:cd";
connection.type = "vlan"; connection.type = "vlan";
connection.id = "vpn"; connection.id = "vpn";
connection.interface-name = "enp34s0.69"; # or just "vpn-vlan" connection.interface-name = "enp37s0f1.69"; # or just "vpn-vlan"
vlan.interface-name = "enp34s0.69"; # or just "vpn-vlan" vlan.interface-name = "enp37s0f1.69"; # or just "vpn-vlan"
vlan.parent = "enp34s0"; vlan.parent = "enp37s0f1";
vlan.id = 69; vlan.id = 69;
#ipv4.dns = "9.9.9.9"; #ipv4.dns = "9.9.9.9";
}; };
# lan = {
# ethernet.mac-address = "02:11:61:c5:31:b6";
# connection.type = "vlan";
# connection.id = "lan";
# connection.interface-name = "enp37s0f1.20"; # or just "vpn-vlan"
# vlan.interface-name = "enp37s0f1.20"; # or just "vpn-vlan"
# vlan.parent = "enp37s0f1";
# vlan.id = 20;
# #ipv4.dns = "9.9.9.9";
# };
}; };
}; };
}; };