ookflix: add containers
This commit is contained in:
parent
4ee2e2a877
commit
79a37fa8eb
13 changed files with 303 additions and 68 deletions
|
|
@ -2,14 +2,15 @@
|
|||
config,
|
||||
lib,
|
||||
ook,
|
||||
self,
|
||||
...
|
||||
}: let
|
||||
ookflixLib = import ./lib.nix {inherit lib config;};
|
||||
ookflixLib = import ./lib.nix {inherit lib config self;};
|
||||
inherit (ookflixLib) mkServiceUser mkServiceStateDir;
|
||||
inherit (lib) mkIf;
|
||||
inherit (ook.lib.container) mkContainerLabel mkContainerEnvironment mkContainerPort;
|
||||
inherit (config.ooknet.server.ookflix) groups;
|
||||
inherit (config.ooknet.server.services) tautulli;
|
||||
inherit (config.ooknet.server.ookflix.services) tautulli;
|
||||
in {
|
||||
config = mkIf tautulli.enable {
|
||||
users = mkServiceUser tautulli.user.name;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue