add pinchflat to h001
This commit is contained in:
parent
7e875a0927
commit
30172c0987
2 changed files with 30 additions and 0 deletions
|
@ -6,5 +6,6 @@
|
||||||
./adguardhome.nix
|
./adguardhome.nix
|
||||||
./nixarr.nix
|
./nixarr.nix
|
||||||
./monitoring.nix
|
./monitoring.nix
|
||||||
|
./pinchflat.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
29
hosts/h001/mods/pinchflat.nix
Normal file
29
hosts/h001/mods/pinchflat.nix
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
config = {
|
||||||
|
services.pinchflat = {
|
||||||
|
enable = true;
|
||||||
|
port = 8945;
|
||||||
|
mediaDir = "/drives/wd10/nixarr/media/library/youtube";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Adds the pinchflat user to the nixarr media group so we can write to the same media folder
|
||||||
|
systemd.services.pinchflat.serviceConfig.SupplementaryGroups = [ "media" ];
|
||||||
|
systemd.tmpfiles.rules = [
|
||||||
|
"d '/drives/wd10/nixarr/media/library/youtube' 0775 root media - -"
|
||||||
|
];
|
||||||
|
|
||||||
|
# services.nginx = {
|
||||||
|
# virtualHosts = {
|
||||||
|
# "yt.joshuabell.xyz" = {
|
||||||
|
# locations."/" = {
|
||||||
|
# proxyWebsockets = true;
|
||||||
|
# proxyPass = "http://localhost:8945";
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue