summaryrefslogtreecommitdiffstats
path: root/krebs/2configs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-02-16 21:58:48 +0100
committerlassulus <lassulus@lassul.us>2021-02-16 21:58:48 +0100
commit892ae1f8a70ce3a6062a2ffa6ac5b3e3df3ba99c (patch)
tree583450831e69c6f7a1f8c961bcd1373e56670825 /krebs/2configs
parent34ac22e4419fff0e07afc3a71615dc30399aecff (diff)
glados: import unstable home-assistant
Diffstat (limited to 'krebs/2configs')
-rw-r--r--krebs/2configs/shack/glados/default.nix9
1 files changed, 9 insertions, 0 deletions
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";