hosts: jupiter: update network

This commit is contained in:
Kabbone 2023-09-03 14:07:45 +02:00
parent db58615f92
commit 389d5d8daa
Signed by: Kabbone
SSH Key Fingerprint: SHA256:A5zPB5I6u5V78V51c362BBdCwhDhfDUVbt7NfKdjWBY

View File

@ -19,10 +19,10 @@
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" ]; boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ "vfio_pci" "vfio" "vfio_iommu_type1" ]; boot.initrd.kernelModules = [ "vfio_pci" "vfio" "vfio_iommu_type1" ];
boot.initrd.secrets = { # boot.initrd.secrets = {
"/root/NASKeyfile" = # "/root/NASKeyfile" =
/root/NASKeyfile; # /root/NASKeyfile;
}; # };
# boot.initrd.luks.devices = { # boot.initrd.luks.devices = {
# NAS-RAID1 = { # NAS-RAID1 = {
# device = "/dev/disk/by-uuid/57e6446d-faca-4b67-9063-e8d9afb80088"; # device = "/dev/disk/by-uuid/57e6446d-faca-4b67-9063-e8d9afb80088";
@ -177,11 +177,11 @@
vswitches = { vswitches = {
vs0 = { vs0 = {
interfaces = { interfaces = {
enp0s31f6 = { }; enp1s0 = { };
lo1 = { lo1 = {
type = "internal"; type = "internal";
}; };
enp0s31f6iot = { enp1s0iot = {
type = "internal"; type = "internal";
vlan = 100; vlan = 100;
}; };
@ -211,7 +211,7 @@
# }; # };
lo1 = { lo1 = {
useDHCP = true; useDHCP = true;
macAddress = "f6:14:f3:7b:1f:f7"; macAddress = "68:84:7e:71:a0:e0";
}; };
}; };
# defaultGateway = "45.142.114.1"; # defaultGateway = "45.142.114.1";