This commit is contained in:
parent
891571a36d
commit
c40723cd6e
|
@ -102,13 +102,12 @@
|
||||||
ip = "192.168.0.119";
|
ip = "192.168.0.119";
|
||||||
mac = "DE:7C:32:7E:DD:A1";
|
mac = "DE:7C:32:7E:DD:A1";
|
||||||
};
|
};
|
||||||
# ip = "192.168.0.120";
|
"plex2" = {
|
||||||
"jackett2" = {
|
ip = "192.168.0.120";
|
||||||
ip = "192.168.0.121";
|
mac = "A2:2C:65:32:54:8A";
|
||||||
mac = "4e:e7:64:b7:88:b8";
|
profile = "plex";
|
||||||
profile = "jackett";
|
|
||||||
nix = false; # superseded by prowlarr
|
|
||||||
};
|
};
|
||||||
|
# ip = "192.168.0.121";
|
||||||
"nginx" = {
|
"nginx" = {
|
||||||
ip = "192.168.0.122";
|
ip = "192.168.0.122";
|
||||||
mac = "52:8E:72:31:AE:AC";
|
mac = "52:8E:72:31:AE:AC";
|
||||||
|
|
|
@ -83,7 +83,6 @@ in {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
|
||||||
proxyWebsockets = true;
|
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
#Some players don't reopen a socket and playback stops totally instead of resuming after an extended pause
|
#Some players don't reopen a socket and playback stops totally instead of resuming after an extended pause
|
||||||
|
@ -128,7 +127,10 @@ in {
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
'';
|
'';
|
||||||
locations."/" = { proxyPass = "http://plex2.hades:32400/"; };
|
locations."/" = {
|
||||||
|
|
||||||
|
proxyWebsockets = true;
|
||||||
|
proxyPass = "http://plex2.hades:32400/"; };
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualHosts."fedi.xirion.net" = {
|
virtualHosts."fedi.xirion.net" = {
|
||||||
|
|
31
nixos/hosts/hades/plex/configuration.nix
Normal file
31
nixos/hosts/hades/plex/configuration.nix
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# Edit this configuration file to define what should be installed on
|
||||||
|
# your system. Help is available in the configuration.nix(5) man page
|
||||||
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||||
|
|
||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [ ];
|
||||||
|
|
||||||
|
# This value determines the NixOS release from which the default
|
||||||
|
# settings for stateful data, like file locations and database versions
|
||||||
|
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||||
|
# this value at the release version of the first install of this system.
|
||||||
|
# Before changing this value read the documentation for this option
|
||||||
|
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||||
|
system.stateVersion = "23.11"; # Did you read the comment?
|
||||||
|
|
||||||
|
# Additional packages
|
||||||
|
environment.systemPackages = with pkgs; [ ];
|
||||||
|
|
||||||
|
services.plex = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.plex-plexpass;
|
||||||
|
openFirewall = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/mnt/storage" = {
|
||||||
|
device = "storage:/mnt/storage";
|
||||||
|
fsType = "nfs";
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,14 +1,14 @@
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"version": "1.32.2.7100",
|
"version": "1.32.3.7089",
|
||||||
"platform": "aarch64-linux",
|
"platform": "aarch64-linux",
|
||||||
"url": "https://downloads.plex.tv/plex-media-server-new/1.32.2.7100-248a2daf0/debian/plexmediaserver_1.32.2.7100-248a2daf0_arm64.deb",
|
"url": "https://downloads.plex.tv/plex-media-server-new/1.32.3.7089-b0a36929b/debian/plexmediaserver_1.32.3.7089-b0a36929b_arm64.deb",
|
||||||
"hash": "1rs967n4vli7gba2137l5z6vrdcdxfy3hni21lay3ayyds3xmavd"
|
"hash": "1sc6h04l0lxw3jzz01gn7i6wikqqds7nqh35rqvwhffjgdvmcjhq"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"version": "1.32.2.7100",
|
"version": "1.32.3.7089",
|
||||||
"platform": "x86_64-linux",
|
"platform": "x86_64-linux",
|
||||||
"url": "https://downloads.plex.tv/plex-media-server-new/1.32.2.7100-248a2daf0/debian/plexmediaserver_1.32.2.7100-248a2daf0_amd64.deb",
|
"url": "https://downloads.plex.tv/plex-media-server-new/1.32.3.7089-b0a36929b/debian/plexmediaserver_1.32.3.7089-b0a36929b_amd64.deb",
|
||||||
"hash": "0myr0nws0dhhkp9cc5zwxs4pigs7bmyf582fwskzjqm3d7phlwmi"
|
"hash": "074qvjl49rfn6s3naa5s71i5kd0an64laijz13cpsh55yy6zwgb3"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue