fixing som arr stack stuff
This commit is contained in:
parent
8204a1baa5
commit
4179ab456f
5 changed files with 58 additions and 4 deletions
|
@ -29,6 +29,7 @@ let
|
||||||
"tdarr.robi" = hosts.robi;
|
"tdarr.robi" = hosts.robi;
|
||||||
"prowlarr.robi" = hosts.robi;
|
"prowlarr.robi" = hosts.robi;
|
||||||
"jellyseerr.robi" = hosts.robi;
|
"jellyseerr.robi" = hosts.robi;
|
||||||
|
"unmanic.robi" = hosts.robi;
|
||||||
# pepe
|
# pepe
|
||||||
"grafana.pepe" = hosts.pepe;
|
"grafana.pepe" = hosts.pepe;
|
||||||
"loki.pepe" = hosts.pepe;
|
"loki.pepe" = hosts.pepe;
|
||||||
|
|
|
@ -95,6 +95,20 @@
|
||||||
kernelModules = [ "e1000e" ];
|
kernelModules = [ "e1000e" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
# nixpkgs.config.packageOverrides = pkgs: {
|
||||||
|
# vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; };
|
||||||
|
# };
|
||||||
|
hardware.opengl = {
|
||||||
|
enable = true;
|
||||||
|
extraPackages = with pkgs; [
|
||||||
|
intel-media-driver # LIBVA_DRIVER_NAME=iHD
|
||||||
|
vaapiIntel # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium)
|
||||||
|
vaapiVdpau
|
||||||
|
libvdpau-va-gl
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
# just enable lan
|
# just enable lan
|
||||||
#networking.dhcpcd.allowInterfaces = [ "enp0s25" ];
|
#networking.dhcpcd.allowInterfaces = [ "enp0s25" ];
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,8 @@
|
||||||
./media-transmission.nix
|
./media-transmission.nix
|
||||||
./media-transmission2.nix
|
./media-transmission2.nix
|
||||||
./media-arr.nix
|
./media-arr.nix
|
||||||
./media-tdarr.nix
|
#./media-tdarr.nix
|
||||||
|
#./media-unmanic.nix
|
||||||
|
|
||||||
./social-jitsi.nix
|
./social-jitsi.nix
|
||||||
|
|
||||||
|
|
|
@ -29,9 +29,7 @@
|
||||||
image = "ghcr.io/haveagitgat/tdarr:latest"; # Warning: if the tag does not change, the image will not be updated
|
image = "ghcr.io/haveagitgat/tdarr:latest"; # Warning: if the tag does not change, the image will not be updated
|
||||||
extraOptions = [
|
extraOptions = [
|
||||||
#"--network=bridge"
|
#"--network=bridge"
|
||||||
"--privileged"
|
#"--privileged"
|
||||||
#"--gpus=all"
|
|
||||||
"--device=/dev/dri:/dev/dri"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
40
nixos/machines/robi/media-unmanic.nix
Normal file
40
nixos/machines/robi/media-unmanic.nix
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
{
|
||||||
|
|
||||||
|
virtualisation.oci-containers = {
|
||||||
|
containers.unmanic = {
|
||||||
|
volumes = [
|
||||||
|
"/media/arr/unmanic/config:/config"
|
||||||
|
#"/media/arr/unmanic/library:/library"
|
||||||
|
"/media/arr/unmanic/tmp:/tmp/unmanic"
|
||||||
|
"/media:/library"
|
||||||
|
];
|
||||||
|
environment = {
|
||||||
|
PUID = toString config.users.users.media.uid;
|
||||||
|
PGID = toString config.users.groups.media.gid;
|
||||||
|
};
|
||||||
|
ports = [
|
||||||
|
"127.0.0.1:8889:8888"
|
||||||
|
];
|
||||||
|
image = "josh5/unmanic:latest";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
#networking.firewall.interfaces.wq0.allowedTCPPorts = [ 8266 ];
|
||||||
|
#networking.firewall.interfaces.wq0.allowedUDPPorts = [ 8266 ];
|
||||||
|
|
||||||
|
#networking.firewall.interfaces.enp0s31f6.allowedTCPPorts = [ 8266 ];
|
||||||
|
#networking.firewall.interfaces.enp0s31f6.allowedUDPPorts = [ 8266 ];
|
||||||
|
|
||||||
|
services.nginx.virtualHosts."unmanic.${config.networking.hostName}.private" = {
|
||||||
|
extraConfig = ''
|
||||||
|
allow ${config.tinc.private.subnet};
|
||||||
|
deny all;
|
||||||
|
'';
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://localhost:8889";
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in a new issue