misc#plex: init media server
This commit is contained in:
parent
5fb8b0b1fa
commit
27d4712557
@ -7,6 +7,7 @@ in
|
|||||||
../users/nrd
|
../users/nrd
|
||||||
../profiles/graphical
|
../profiles/graphical
|
||||||
../profiles/misc
|
../profiles/misc
|
||||||
|
../profiles/misc/plex.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [
|
boot.initrd.availableKernelModules = [
|
||||||
|
8
profiles/misc/plex.nix
Normal file
8
profiles/misc/plex.nix
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
services.plex = {
|
||||||
|
enable = true;
|
||||||
|
dataDir = "/srv/plex";
|
||||||
|
openFirewall = true;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user