Make Jellyfin compatible with Proxmox
This commit is contained in:
@@ -22,6 +22,7 @@
|
|||||||
};
|
};
|
||||||
subnet4 = [
|
subnet4 = [
|
||||||
{
|
{
|
||||||
|
id = 1;
|
||||||
subnet = "10.42.0.0/16";
|
subnet = "10.42.0.0/16";
|
||||||
pools = [ { pool = "10.42.2.0 - 10.42.3.255"; } ];
|
pools = [ { pool = "10.42.2.0 - 10.42.3.255"; } ];
|
||||||
interface = lan;
|
interface = lan;
|
||||||
@@ -111,12 +112,13 @@
|
|||||||
ip-address = "10.42.4.1"; # Dendrite
|
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
|
ip-address = "10.42.4.2"; # Jellyfin
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
id = 66;
|
||||||
subnet = "192.168.66.0/24";
|
subnet = "192.168.66.0/24";
|
||||||
pools = [ { pool = "192.168.66.2 - 192.168.66.254"; } ];
|
pools = [ { pool = "192.168.66.2 - 192.168.66.254"; } ];
|
||||||
interface = iot;
|
interface = iot;
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
{ ... }:
|
{ lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ ];
|
|
||||||
boot.loader.grub.devices = [ "/dev/disk/by-label/ESP" ];
|
boot.loader.grub.devices = [ "/dev/disk/by-label/ESP" ];
|
||||||
|
|
||||||
greg = {
|
greg = {
|
||||||
@@ -33,11 +32,16 @@
|
|||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "vm-jellyfin";
|
hostName = "vm-jellyfin";
|
||||||
domain = "thehellings.lan";
|
domain = lib.mkForce null; # The proxmox generator fails at this, somehow
|
||||||
};
|
};
|
||||||
|
|
||||||
services.jellyfin = {
|
services = {
|
||||||
enable = true;
|
jellyfin = {
|
||||||
openFirewall = true;
|
enable = true;
|
||||||
|
openFirewall = true;
|
||||||
|
};
|
||||||
|
qemuGuest.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
virtualisation.diskSize = 20 * 1024;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user