summaryrefslogtreecommitdiffstats
path: root/old/modules/tv/nginx/default.nix
blob: 49133fbb3af255df9ca8792fffc3eb3544c9ff89 (plain)
1
2
3
4
5
6
7
8
9
10
11
arg@{ config, pkgs, lib, ... }:

let
  cfg = config.tv.nginx;
  arg' = arg // { inherit cfg; };
in

{
  options.tv.nginx = import ./options.nix arg';
  config = lib.mkIf cfg.enable (import ./config.nix arg');
}