ookflix: refactors FIX COMMIT
This commit is contained in:
parent
da77c223ff
commit
c096dc295a
10 changed files with 154 additions and 138 deletions
|
|
@ -1,11 +1,4 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) elem mkIf;
|
||||
inherit (config.ooknet.server) services;
|
||||
in {
|
||||
imports = [
|
||||
./jellyfin.nix
|
||||
./plex.nix
|
||||
|
|
@ -14,21 +7,9 @@ in {
|
|||
./sonarr.nix
|
||||
./prowlarr.nix
|
||||
./gluetun.nix
|
||||
./transmission.nix
|
||||
./qbittorrent.nix
|
||||
./shared.nix
|
||||
|
||||
./options.nix
|
||||
];
|
||||
|
||||
config = mkIf (elem "ookflix" services) {
|
||||
ooknet.server.ookflix = {
|
||||
gpuAcceleration.enable = true;
|
||||
services = {
|
||||
jellyfin.enable = true;
|
||||
plex.enable = true;
|
||||
jellyseer.enable = true;
|
||||
tautulli.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue