chore: track external network configs

This commit is contained in:
arcnmx 2024-03-25 10:09:18 -07:00
parent 3bb2e7e3c5
commit 103548a87c
11 changed files with 145 additions and 10 deletions

View file

@ -1,5 +1,5 @@
_: {
type = null;
type = "Linux";
proxmox = {
vm = {
id = 202;
@ -15,4 +15,14 @@ _: {
net1.internal.enable = true;
};
};
extern.files = {
"/etc/NetworkManager/system-connections/ens18.nmconnection" = {
source = ./ens18.nmconnection;
mode = "0600";
};
"/etc/NetworkManager/system-connections/int.nmconnection" = {
source = ./int.nmconnection;
mode = "0600";
};
};
}

View file

@ -0,0 +1,20 @@
[connection]
id=ens18
uuid=ee7fba03-49fa-3474-acf6-a9c2c591c098
type=ethernet
autoconnect-priority=-999
interface-name=ens18
timestamp=1706677871
[ethernet]
[ipv4]
address1=10.1.1.46/24,10.1.1.1
dns=1.1.1.1;
method=manual
[ipv6]
addr-gen-mode=eui64
method=auto
[proxy]

View file

@ -0,0 +1,12 @@
[connection]
id=int
type=ethernet
interface-name=ens19
[ipv4]
address1=10.9.1.170/24
may-fail=true
method=manual
[ipv6]
address1=fd0c::aa/64
may-fail=true
method=manual