Add Matrix host
This commit is contained in:
@@ -15,6 +15,10 @@
|
|||||||
10.42.1.9 ivr ivr.thehellings.lan
|
10.42.1.9 ivr ivr.thehellings.lan
|
||||||
10.42.1.12 tv
|
10.42.1.12 tv
|
||||||
|
|
||||||
|
# VMs
|
||||||
|
10.42.4.1 matrix matrix.thehellings.lan
|
||||||
|
|
||||||
|
# IPMI
|
||||||
10.42.100.6 isaiahbmc isaiahbmc.thehellings.lan
|
10.42.100.6 isaiahbmc isaiahbmc.thehellings.lan
|
||||||
|
|
||||||
# Tailscale hosts
|
# Tailscale hosts
|
||||||
|
|||||||
@@ -117,6 +117,11 @@
|
|||||||
ip-address = "10.42.1.9";
|
ip-address = "10.42.1.9";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
hw-address = "52:54:00:2a:74:2f";
|
||||||
|
ip-address = "10.43.4.1";
|
||||||
|
}
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
# IOT devices #
|
# IOT devices #
|
||||||
########################################
|
########################################
|
||||||
|
|||||||
+17
-14
@@ -14,6 +14,10 @@
|
|||||||
|
|
||||||
virtualisation.libvirtd = {
|
virtualisation.libvirtd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
allowedBridges = [
|
||||||
|
"virbr0"
|
||||||
|
"br0"
|
||||||
|
];
|
||||||
onBoot = "ignore"; # only restart VMs labeled 'autostart'
|
onBoot = "ignore"; # only restart VMs labeled 'autostart'
|
||||||
qemu.ovmf.enable = true;
|
qemu.ovmf.enable = true;
|
||||||
};
|
};
|
||||||
@@ -31,11 +35,8 @@
|
|||||||
address = " 10.42.1.1";
|
address = " 10.42.1.1";
|
||||||
interface = "enp38s0";
|
interface = "enp38s0";
|
||||||
};
|
};
|
||||||
vlans = {
|
bridges = {
|
||||||
san = {
|
br0.interfaces = [ "enp39s0" ];
|
||||||
id = 616;
|
|
||||||
interface = "enp39s0";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
interfaces = {
|
interfaces = {
|
||||||
enp38s0 = {
|
enp38s0 = {
|
||||||
@@ -44,22 +45,19 @@
|
|||||||
address = "10.42.1.6";
|
address = "10.42.1.6";
|
||||||
prefixLength = 16;
|
prefixLength = 16;
|
||||||
}
|
}
|
||||||
{
|
|
||||||
address = "10.42.100.1";
|
|
||||||
prefixLength = 16;
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
san = {
|
br0 = {
|
||||||
ipv4.addresses = [
|
ipv4.addresses = [
|
||||||
{
|
{
|
||||||
address = "10.201.1.1";
|
address = "10.42.90.1";
|
||||||
prefixLength = 24;
|
prefixLength = 16;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
nameservers = [ "10.42.1.5" ];
|
nameservers = [ "10.42.1.5" ];
|
||||||
|
firewall.checkReversePath = lib.mkForce false;
|
||||||
};
|
};
|
||||||
users = {
|
users = {
|
||||||
users = {
|
users = {
|
||||||
@@ -76,8 +74,13 @@
|
|||||||
};
|
};
|
||||||
system.stateVersion = lib.mkForce "24.05";
|
system.stateVersion = lib.mkForce "24.05";
|
||||||
boot = {
|
boot = {
|
||||||
|
binfmt.emulatedSystems = [ "aarch64-linux" ];
|
||||||
extraModprobeConfig = "options kvm_amd nested=1";
|
extraModprobeConfig = "options kvm_amd nested=1";
|
||||||
supportedFilesystems = [ "ntfs" ];
|
kernel.sysctl = {
|
||||||
|
"net.bridge.bridge-nf-call-ip6tables" = 0;
|
||||||
|
"net.bridge.bridge-nf-call-iptables" = 0;
|
||||||
|
"net.bridge.bridge-nf-call-arptables" = 0;
|
||||||
|
};
|
||||||
loader = {
|
loader = {
|
||||||
efi = {
|
efi = {
|
||||||
canTouchEfiVariables = true;
|
canTouchEfiVariables = true;
|
||||||
@@ -88,7 +91,7 @@
|
|||||||
configurationLimit = 10;
|
configurationLimit = 10;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
binfmt.emulatedSystems = [ "aarch64-linux" ];
|
supportedFilesystems = [ "ntfs" ];
|
||||||
};
|
};
|
||||||
nixpkgs.config = {
|
nixpkgs.config = {
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user