devos/profiles/graphical/plex/default.nix
Timothy DeHerrera 0837303bb5
profiles: add concept of suites
* Import attrs of profiles automatically with `defaultImport`.
* Refactor profiles to ensure all are functions returning a module.
* Add a suites.nix with collections of profiles.
* Add suites as `specialArgs` to modules.
* Add suite import to NixOS host.
2021-02-02 09:39:29 -07:00

10 lines
174 B
Nix

{ ... }: {
services.plex = {
enable = true;
dataDir = "/srv/plex";
group = "media";
openFirewall = true;
};
users.groups.media.members = [ "plex" ];
}