From 0345c30b1b3c3b01ba5455a7fc6bee338c36052a Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 13 Jul 2015 17:36:31 +0200 Subject: 3 tv.*: use mkEnableOption --- 3modules/tv/identity.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to '3modules/tv/identity.nix') diff --git a/3modules/tv/identity.nix b/3modules/tv/identity.nix index 7cf90de0..c3c2f17b 100644 --- a/3modules/tv/identity.nix +++ b/3modules/tv/identity.nix @@ -1,9 +1,7 @@ { lib, ... }: with lib; - let - cfg = config.tv.identity; out = { @@ -12,10 +10,8 @@ let }; api = { - enable = mkOption { - type = types.bool; - default = false; - }; + enable = mkEnableOption "tv.identity"; + self = mkOption { type = types.unspecified; }; -- cgit v1.2.3