diff options
author | lassulus <lassulus@lassul.us> | 2020-11-19 18:49:04 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2020-11-19 18:49:04 +0100 |
commit | 98de93f009b0ae5f07585185efc0c8d5e3fd666f (patch) | |
tree | e487924345493521cc0aa85185b1152a5142f791 /lass/3modules/hass.nix | |
parent | 7f11cf509f9e1595628582522d4d0acaea748608 (diff) |
remove deprecated hass module
Diffstat (limited to 'lass/3modules/hass.nix')
-rw-r--r-- | lass/3modules/hass.nix | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/lass/3modules/hass.nix b/lass/3modules/hass.nix deleted file mode 100644 index 96521aaa9..000000000 --- a/lass/3modules/hass.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ config, lib, pkgs, ... }: -with import <stockholm/lib>; -let - - cfg = config.lass.hass; - -in { - options.lass.hass = { - config = mkOption { - default = {}; - type = with lib.types; let - valueType = nullOr (oneOf [ - bool - int - float - str - (attrsOf valueType) - (listOf valueType) - ]) // { - description = "Yaml value"; - emptyValue.value = {}; - }; - in valueType; - }; - love = mkOption { - default = {}; - type = with lib.types; let - valueType = nullOr (oneOf [ - bool - int - float - str - (attrsOf valueType) - (listOf valueType) - ]) // { - description = "Yaml value"; - emptyValue.value = {}; - }; - in valueType; - }; - }; - - config = - assert versionOlder version "20.09"; - mkIf (cfg.config != {}) - { - services.home-assistant.config = cfg.config; - # services.home-assistant.lovelaceConfig = cfg.love; - }; -} - |