12 lines
281 B
Nix
12 lines
281 B
Nix
{ lib, config, ... }:
|
|
let
|
|
cfg = config.my.servers.ombi;
|
|
setup = import ../factories/setup.nix { inherit lib config; };
|
|
in
|
|
{
|
|
options.my.servers.ombi = setup.mkOptions "ombi" "requests" 3425;
|
|
config.services.ombi = lib.mkIf cfg.enable {
|
|
inherit (cfg) enable port;
|
|
};
|
|
}
|