stockholm/old/modules/tv/retiolum/default.nix
2015-07-11 19:44:12 +02:00

12 lines
217 B
Nix

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');
}