nix-dotfiles/hosts/tsuki/services/plex.nix

11 lines
233 B
Nix
Raw Normal View History

2022-06-22 20:16:57 +02:00
{ config, secrets, ... }:
2022-03-07 16:01:52 +01:00
{
services.plex = {
enable = true;
openFirewall = true;
2022-06-22 20:16:57 +02:00
dataDir = "${config.machineVars.dataDrives.default}/var/plex";
2022-03-07 16:01:52 +01:00
};
2022-06-22 20:16:57 +02:00
# networking.firewall.allowedTCPPorts = [ secrets.ports.plex ];
2022-03-07 16:01:52 +01:00
}