mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
28 lines
606 B
Nix
28 lines
606 B
Nix
_: {
|
|
type = "Linux";
|
|
proxmox = {
|
|
vm = {
|
|
id = 202;
|
|
enable = true;
|
|
};
|
|
network.interfaces = {
|
|
net0 = {
|
|
name = "ens18";
|
|
macAddress = "BC:24:11:3D:39:91";
|
|
address4 = "10.1.1.46/24";
|
|
address6 = "auto";
|
|
};
|
|
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";
|
|
};
|
|
};
|
|
}
|