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

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

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