ookflix: initial ookflix commit
This commit is contained in:
parent
9459f9e1f6
commit
2d437acfbb
12 changed files with 482 additions and 6 deletions
24
modules/nixos/server/services/ookflix/default.nix
Normal file
24
modules/nixos/server/services/ookflix/default.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue