Make Jellyfin compatible with Proxmox

This commit is contained in:
Greg Hellings
2024-11-25 13:57:47 -06:00
parent daee380cdf
commit edae9d8093
2 changed files with 13 additions and 7 deletions
+3 -1
View File
@@ -22,6 +22,7 @@
};
subnet4 = [
{
id = 1;
subnet = "10.42.0.0/16";
pools = [ { pool = "10.42.2.0 - 10.42.3.255"; } ];
interface = lan;
@@ -111,12 +112,13 @@
ip-address = "10.42.4.1"; # Dendrite
}
{
hw-address = "52:54:00:70:ce:fa";
hw-address = "BC:24:11:A2:F3:6A";
ip-address = "10.42.4.2"; # Jellyfin
}
];
}
{
id = 66;
subnet = "192.168.66.0/24";
pools = [ { pool = "192.168.66.2 - 192.168.66.254"; } ];
interface = iot;
+10 -6
View File
@@ -1,7 +1,6 @@
{ ... }:
{ lib, ... }:
{
imports = [ ];
boot.loader.grub.devices = [ "/dev/disk/by-label/ESP" ];
greg = {
@@ -33,11 +32,16 @@
networking = {
hostName = "vm-jellyfin";
domain = "thehellings.lan";
domain = lib.mkForce null; # The proxmox generator fails at this, somehow
};
services.jellyfin = {
enable = true;
openFirewall = true;
services = {
jellyfin = {
enable = true;
openFirewall = true;
};
qemuGuest.enable = true;
};
virtualisation.diskSize = 20 * 1024;
}