1

System/Nixinator: Add fileflows node

This commit is contained in:
2025-11-11 15:00:53 +01:00
parent 9824a769c1
commit 5a2bd01894
3 changed files with 59 additions and 0 deletions

View File

@ -12,6 +12,9 @@
./disks.nix ./disks.nix
../modules ../modules
# General services
../services/fileflows-node.nix
]; ];
modules = { modules = {

View File

@ -61,6 +61,8 @@
}; };
}; };
# NOTE: Streams: Ports have to be opened in the VPS firewall + VPS UFW and bound in the VPS Nginx compose file.
allowedTCPPorts = [ allowedTCPPorts = [
53 # DNS (Adguard Home) 53 # DNS (Adguard Home)
67 # DHCP 67 # DHCP

View File

@ -0,0 +1,54 @@
{
config,
lib,
pkgs,
...
}: let
fileflowsVersion = "25.10";
in {
virtualisation.oci-containers.containers = {
fileflows-node = {
image = "revenz/fileflows:${fileflowsVersion}";
autoStart = true;
login = {
# Uses DockerHub by default
# registry = "";
# DockerHub Credentials
username = "christoph.urlacher@protonmail.com";
passwordFile = "${config.sops.secrets.docker-password.path}";
};
dependsOn = [];
ports = [];
volumes = [
"/home/christoph/Movies:/media/movies"
"/home/christoph/Shows:/media/tvshows"
"fileflows_temp:/temp"
"/var/run/docker.sock:/var/run/docker.socl:ro"
];
hostname = "Nixinator";
environment = {
PUID = "3000";
PGID = "3000";
TZ = "Europe/Berlin";
FFNODE = "1";
ServerUrl = "https://fileflows.local.chriphost.de";
};
extraOptions = [
"--privileged"
"--device=nvidia.com/gpu=all"
# "--net=behind-nginx"
];
};
};
}