mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
feat(prox): reisen node config
This commit is contained in:
parent
3053ec927c
commit
bdc353964d
7 changed files with 116 additions and 26 deletions
|
|
@ -1,5 +1,22 @@
|
|||
_: {
|
||||
type = "Linux";
|
||||
proxmox.node = {
|
||||
enable = true;
|
||||
};
|
||||
extern.files = {
|
||||
"/etc/sysctl.d/50-net.conf" = {
|
||||
source = ./sysctl.50-net.conf;
|
||||
};
|
||||
"/etc/network/interfaces.d/50-vmbr0-ipv6.conf" = {
|
||||
source = ./net.50-vmbr0-ipv6.conf;
|
||||
};
|
||||
"/etc/udev/rules.d/90-dri.rules" = {
|
||||
source = ./udev.90-dri.rules;
|
||||
};
|
||||
"/etc/udev/rules.d/90-z2m.rules" = {
|
||||
source = ./udev.90-z2m.rules;
|
||||
};
|
||||
};
|
||||
network.networks = {
|
||||
local = {
|
||||
address4 = "10.1.1.40";
|
||||
|
|
|
|||
28
systems/reisen/extern.json
Normal file
28
systems/reisen/extern.json
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"files": {
|
||||
"/etc/network/interfaces.d/50-vmbr0-ipv6.conf": {
|
||||
"group": "root",
|
||||
"mode": "0644",
|
||||
"owner": "root",
|
||||
"source": "systems/reisen/net.50-vmbr0-ipv6.conf"
|
||||
},
|
||||
"/etc/sysctl.d/50-net.conf": {
|
||||
"group": "root",
|
||||
"mode": "0644",
|
||||
"owner": "root",
|
||||
"source": "systems/reisen/sysctl.50-net.conf"
|
||||
},
|
||||
"/etc/udev/rules.d/90-dri.rules": {
|
||||
"group": "root",
|
||||
"mode": "0644",
|
||||
"owner": "root",
|
||||
"source": "systems/reisen/udev.90-dri.rules"
|
||||
},
|
||||
"/etc/udev/rules.d/90-z2m.rules": {
|
||||
"group": "root",
|
||||
"mode": "0644",
|
||||
"owner": "root",
|
||||
"source": "systems/reisen/udev.90-z2m.rules"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue