ookflix: initial ookflix commit

This commit is contained in:
ooks-io 2024-12-01 18:35:22 +11:00
parent 9459f9e1f6
commit 2d437acfbb
12 changed files with 482 additions and 6 deletions

View file

@ -0,0 +1,24 @@
{
lib,
config,
...
}: let
inherit (lib) elem mkIf;
inherit (config.ooknet.server) services;
in {
imports = [
./jellyfin.nix
./plex.nix
./options.nix
];
config = mkIf (elem "ookflix" services) {
ooknet.server.ookflix = {
gpuAcceleration.enable = true;
services = {
jellyfin.enable = true;
plex.enable = true;
};
};
};
}