diff options
author | lassulus <lassulus@lassul.us> | 2020-11-17 21:42:50 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2020-11-17 21:42:50 +0100 |
commit | b55c1126c291ca546da6ef2068a9e8413f814018 (patch) | |
tree | e99cc8d1b3049ba9b67ef7f19332e3122b38fe0d /krebs/2configs/shack/glados/default.nix | |
parent | 155beb7f7e073f959f2a0c5d17b4ae789989ab16 (diff) | |
parent | 064d51001d2daa17408fdf0311c763e05e0fe9c4 (diff) |
Merge remote-tracking branch 'gum/20.09' into 20.09
Diffstat (limited to 'krebs/2configs/shack/glados/default.nix')
-rw-r--r-- | krebs/2configs/shack/glados/default.nix | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/krebs/2configs/shack/glados/default.nix b/krebs/2configs/shack/glados/default.nix index f47bca2db..04843cb24 100644 --- a/krebs/2configs/shack/glados/default.nix +++ b/krebs/2configs/shack/glados/default.nix @@ -21,23 +21,10 @@ in { ''; }; }; - services.home-assistant = let - dwd_pollen = pkgs.fetchFromGitHub { - owner = "marcschumacher"; - repo = "dwd_pollen"; - rev = "0.1"; - sha256 = "1af2mx99gv2hk1ad53g21fwkdfdbymqcdl3jvzd1yg7dgxlkhbj1"; - }; - in { + services.home-assistant = + { enable = true; - package = (pkgs.home-assistant.overrideAttrs (old: { # TODO: find correct python package - installCheckPhase = '' - echo LOLLLLLLLLLLLLLL - ''; - postInstall = '' - cp -r ${dwd_pollen} $out/lib/python3.7/site-packages/homeassistant/components/dwd_pollen - ''; - })).override { + package = pkgs.home-assistant.override { extraPackages = ps: with ps; [ python-forecastio jsonrpc-async jsonrpc-websocket mpd2 pkgs.picotts ]; |