From 892ae1f8a70ce3a6062a2ffa6ac5b3e3df3ba99c Mon Sep 17 00:00:00 2001 From: lassulus Date: Tue, 16 Feb 2021 21:58:48 +0100 Subject: glados: import unstable home-assistant --- krebs/2configs/shack/glados/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'krebs/2configs/shack/glados/default.nix') diff --git a/krebs/2configs/shack/glados/default.nix b/krebs/2configs/shack/glados/default.nix index d546564c5..53d6e6f4a 100644 --- a/krebs/2configs/shack/glados/default.nix +++ b/krebs/2configs/shack/glados/default.nix @@ -1,5 +1,11 @@ { config, pkgs, lib, ... }: let + unstable = import (pkgs.fetchFromGitHub { + owner = "nixos"; + repo = "nixpkgs"; + rev = (lib.importJSON ../../../nixpkgs-unstable.json).rev; + sha256 = (lib.importJSON ../../../nixpkgs-unstable.json).sha256; + }) {}; in { services.nginx.virtualHosts."hass.shack" = { serverAliases = [ "glados.shack" ]; @@ -40,6 +46,9 @@ in { { enable = true; autoExtraComponents = true; + package = unstable.home-assistant.overrideAttrs (old: { + doInstallCheck = false; + }); config = { homeassistant = { name = "Glados"; -- cgit v1.2.3