misc#plex: init media server

This commit is contained in:
Timothy DeHerrera 2019-12-18 00:34:30 -07:00
parent 5fb8b0b1fa
commit 27d4712557
No known key found for this signature in database
GPG key ID: 8985725DB5B0C122
2 changed files with 9 additions and 0 deletions

View file

@ -7,6 +7,7 @@ in
../users/nrd
../profiles/graphical
../profiles/misc
../profiles/misc/plex.nix
];
boot.initrd.availableKernelModules = [

8
profiles/misc/plex.nix Normal file
View file

@ -0,0 +1,8 @@
{ ... }:
{
services.plex = {
enable = true;
dataDir = "/srv/plex";
openFirewall = true;
};
}