summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
Diffstat (limited to 'krebs')
-rw-r--r--krebs/2configs/shack/glados/default.nix52
-rw-r--r--krebs/2configs/shack/node-light.nix4
-rw-r--r--krebs/nixpkgs-unstable.json6
-rw-r--r--krebs/nixpkgs.json6
4 files changed, 31 insertions, 37 deletions
diff --git a/krebs/2configs/shack/glados/default.nix b/krebs/2configs/shack/glados/default.nix
index dc345cc4e..d000af397 100644
--- a/krebs/2configs/shack/glados/default.nix
+++ b/krebs/2configs/shack/glados/default.nix
@@ -39,8 +39,6 @@ in {
})).override {
extraPackages = ps: with ps; [
python-forecastio jsonrpc-async jsonrpc-websocket mpd2
- (callPackage ./deps/gtts-token.nix { })
- (callPackage ./deps/pyhaversion.nix { })
];
};
autoExtraComponents = true;
@@ -53,20 +51,24 @@ in {
elevation = 303;
auth_providers = [
{ type = "homeassistant";}
- { type = "legacy_api_password";}
{ type = "trusted_networks";
- # allow_bypass_login = true;
+ trusted_networks = [
+ "127.0.0.1/32"
+ "10.42.0.0/16"
+ "::1/128"
+ "fd00::/8"
+ ];
}
];
};
# https://www.home-assistant.io/components/influxdb/
- influxdb = {
- database = "hass";
- tags = {
- instance = "wolf";
- source = "hass";
- };
- };
+ #influxdb = {
+ # database = "hass";
+ # tags = {
+ # instance = "wolf";
+ # source = "hass";
+ # };
+ #};
mqtt = {
broker = "localhost";
port = 1883;
@@ -95,8 +97,7 @@ in {
];
sensor =
- [{ platform = "version"; }]
- ++ (import ./sensors/hass.nix)
+ (import ./sensors/hass.nix)
++ (import ./sensors/power.nix)
++ shackopen.sensor;
@@ -105,31 +106,24 @@ in {
camera = [];
frontend = { };
+ config = { };
http = {
- # TODO: https://github.com/home-assistant/home-assistant/issues/16149
base_url = "http://hass.shack";
use_x_forwarded_for = true;
trusted_proxies = "127.0.0.1";
- api_password = "shackit";
- trusted_networks = [
- "127.0.0.1/32"
- "10.42.0.0/16"
- "::1/128"
- "fd00::/8"
- ];
};
- conversation = {};
- history = {};
- logbook = {};
+ #conversation = {};
+ #history = {};
+ #logbook = {};
tts = [
- { platform = "google";
+ { platform = "google_translate";
language = "de";
}
- { platform = "picotts";
- language = "de-DE";
- }
+ #{ platform = "picotts";
+ # language = "de-DE";
+ #}
];
- recorder = {};
+ #recorder = {};
sun = {};
automation = wasser.automation;
diff --git a/krebs/2configs/shack/node-light.nix b/krebs/2configs/shack/node-light.nix
index 38cb3b55d..9e3828463 100644
--- a/krebs/2configs/shack/node-light.nix
+++ b/krebs/2configs/shack/node-light.nix
@@ -4,8 +4,8 @@ let
pkg = pkgs.callPackage (
pkgs.fetchgit {
url = "https://git.shackspace.de/rz/node-light.git";
- rev = "32d8064db5172b8068f633211c8bd5688b2c8773";
- sha256 = "14jzhs7pp3hq42wq3cwqarivn1z7vcgksfzfqfc4yyh21096yi1j";
+ rev = "9c3fe451897cf170fb192a2643180fdfe22388e8";
+ sha256 = "1zsc38idg452r8wpcna5m3yqx0ri11bd1bw60bl0kpz96dqqnyba";
}) { mkYarnPackage = pkgs.yarn2nix-moretea.mkYarnPackage; };
home = "/var/lib/node-light";
port = "8082";
diff --git a/krebs/nixpkgs-unstable.json b/krebs/nixpkgs-unstable.json
index a772c83a2..4829bec1d 100644
--- a/krebs/nixpkgs-unstable.json
+++ b/krebs/nixpkgs-unstable.json
@@ -1,7 +1,7 @@
{
"url": "https://github.com/NixOS/nixpkgs-channels",
- "rev": "471869c9185fb610e67940a701eb13b1cfb335a4",
- "date": "2019-10-31T16:03:13+01:00",
- "sha256": "1klbclz8n4b9k1kfwv806bqdavld1mg32l1vxsmnrqzr6zck1c54",
+ "rev": "7827d3f4497ed722fedca57fd4d5ca1a65c38256",
+ "date": "2019-11-03T11:21:05+01:00",
+ "sha256": "1ixjkb2ksri83iyhvl4a7hrfnb8zd3ps5jmirgaa7b617jn31cg6",
"fetchSubmodules": false
}
diff --git a/krebs/nixpkgs.json b/krebs/nixpkgs.json
index fabd3691a..7fe43b4b5 100644
--- a/krebs/nixpkgs.json
+++ b/krebs/nixpkgs.json
@@ -1,7 +1,7 @@
{
"url": "https://github.com/NixOS/nixpkgs-channels",
- "rev": "c75de8bc12cc7e713206199e5ca30b224e295041",
- "date": "2019-10-27T17:40:06+01:00",
- "sha256": "1awipcjfvs354spzj2la1nzmi9rh2ci2mdapzf4kkabf58ilra6x",
+ "rev": "c5aabb0d603e2c1ea05f5a93b3be82437f5ebf31",
+ "date": "2019-10-31T21:10:56+01:00",
+ "sha256": "15fwszhn6078sbrb8qk83g8afvh4qnmvff0qbkbvq3cm1fxni2w1",
"fetchSubmodules": false
}