mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
33 lines
730 B
Nix
33 lines
730 B
Nix
_: {
|
|
type = "Linux";
|
|
access.hostName = "idp";
|
|
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/systemd/resolved.conf" = {
|
|
source = ./resolved.conf;
|
|
mode = "0644";
|
|
};
|
|
"/etc/NetworkManager/system-connections/ens18.nmconnection" = {
|
|
source = ./ens18.nmconnection;
|
|
mode = "0600";
|
|
};
|
|
"/etc/NetworkManager/system-connections/int.nmconnection" = {
|
|
source = ./int.nmconnection;
|
|
mode = "0600";
|
|
};
|
|
};
|
|
}
|