Set Jude a static IP address
Give both Jude interfaces their own IP addresses and use those to set the TLS name better Fixes #9
This commit is contained in:
@@ -13,6 +13,8 @@
|
|||||||
10.42.1.7 hosea hosea.thehellings.lan
|
10.42.1.7 hosea hosea.thehellings.lan
|
||||||
10.42.1.8 jeremiah jeremiah.thehellings.lan minio-02.thehellings.lan
|
10.42.1.8 jeremiah jeremiah.thehellings.lan minio-02.thehellings.lan
|
||||||
10.42.1.9 ivr ivr.thehellings.lan
|
10.42.1.9 ivr ivr.thehellings.lan
|
||||||
|
10.42.1.10 jude jude.thehellings.lan
|
||||||
|
10.42.1.11 jude1 jude1.thehellings.lan
|
||||||
10.42.1.12 tv
|
10.42.1.12 tv
|
||||||
|
|
||||||
# VMs
|
# VMs
|
||||||
|
|||||||
@@ -101,6 +101,14 @@
|
|||||||
hw-address = "c8:5e:a9:54:9e:c6"; # IVR laptop Wi-Fi
|
hw-address = "c8:5e:a9:54:9e:c6"; # IVR laptop Wi-Fi
|
||||||
ip-address = "10.42.1.9";
|
ip-address = "10.42.1.9";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
hw-address = "c8:4b:d6:ca:20:8f";
|
||||||
|
ip-address = "10.42.1.10"; # Jude - but maybe through the monitor?
|
||||||
|
}
|
||||||
|
{
|
||||||
|
hw-address = "04:7c:16:d5:60:6f";
|
||||||
|
ip-address = "10.42.1.11"; # Jude - but straight in the motherboard
|
||||||
|
}
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
# VM servers #
|
# VM servers #
|
||||||
|
|||||||
+33
-4
@@ -93,7 +93,32 @@
|
|||||||
hostName = "jude";
|
hostName = "jude";
|
||||||
networkmanager.enable = lib.mkForce true;
|
networkmanager.enable = lib.mkForce true;
|
||||||
enableIPv6 = false;
|
enableIPv6 = false;
|
||||||
interfaces.enp12s0.useDHCP = true;
|
useDHCP = false;
|
||||||
|
interfaces = {
|
||||||
|
# This seems to be direct mother board interface
|
||||||
|
enp12s0.useDHCP = true;
|
||||||
|
#enp12s0.ipv4.addresses = [
|
||||||
|
#{
|
||||||
|
#address = "10.42.1.11";
|
||||||
|
#prefixLength = 16;
|
||||||
|
#}
|
||||||
|
#];
|
||||||
|
# This seems to be the one that comes through the monitor hookup
|
||||||
|
enp14s0u1u2.ipv4.addresses = [
|
||||||
|
{
|
||||||
|
address = "10.42.1.10";
|
||||||
|
prefixLength = 16;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
defaultGateway = {
|
||||||
|
address = "10.42.1.1";
|
||||||
|
interface = "enp14s0u1u2";
|
||||||
|
};
|
||||||
|
nameservers = [
|
||||||
|
"10.42.1.5"
|
||||||
|
"10.42.1.1"
|
||||||
|
];
|
||||||
firewall = {
|
firewall = {
|
||||||
enable = false;
|
enable = false;
|
||||||
allowedTCPPorts = [ 21000 ];
|
allowedTCPPorts = [ 21000 ];
|
||||||
@@ -118,9 +143,13 @@
|
|||||||
|
|
||||||
# Let's do a sound thing
|
# Let's do a sound thing
|
||||||
services = {
|
services = {
|
||||||
k3s.extraFlags = [
|
k3s.extraFlags =
|
||||||
"--tls-san 10.42.0.6"
|
let
|
||||||
"--bind-address 10.42.0.6"
|
ip = (builtins.head config.networking.interfaces.enp14s0u1u2.ipv4.addresses).address;
|
||||||
|
in
|
||||||
|
[
|
||||||
|
"--tls-san ${ip}"
|
||||||
|
"--bind-address ${ip}"
|
||||||
];
|
];
|
||||||
pipewire = {
|
pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user