update: home-assistant

This commit is contained in:
Ingolf Wagner 2020-11-29 21:51:16 +01:00
parent a87a8a2bd4
commit 2521771ae9
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
4 changed files with 7 additions and 3 deletions

View file

@ -428,7 +428,7 @@ in {
}; };
}; };
hot = 27; hot = 24;
cold = 19; cold = 19;
fyrtur_command = device: position: { fyrtur_command = device: position: {

View file

@ -12,7 +12,7 @@
services.mysqlBackup = { services.mysqlBackup = {
enable = true; enable = true;
databases = [ "property" ]; databases = [ "property" ];
user = "root"; user = "admin";
}; };
backup.dirs = [ config.services.mysqlBackup.location ]; backup.dirs = [ config.services.mysqlBackup.location ];

View file

@ -162,6 +162,7 @@ in {
services.mysql = { services.mysql = {
enable = true; enable = true;
package = pkgs.mysql; package = pkgs.mysql;
# https://nixos.org/manual/nixos/stable/release-notes.html#sec-release-20.09-incompatibilities
ensureDatabases = [ "nextcloud" ]; ensureDatabases = [ "nextcloud" ];
ensureUsers = [{ ensureUsers = [{
name = "nextcloud"; name = "nextcloud";
@ -177,7 +178,7 @@ in {
# nextcloud setup # nextcloud setup
services.nextcloud = { services.nextcloud = {
enable = true; enable = true;
package = pkgs.nextcloud18; #package = pkgs.nextcloud18;
#package = pkgs.nextcloud.overrideAttrs (old: rec { #package = pkgs.nextcloud.overrideAttrs (old: rec {
# name = "nextcloud-${version}"; # name = "nextcloud-${version}";
# version = "18.0.1"; # version = "18.0.1";

View file

@ -64,6 +64,9 @@ in {
umask = "002"; umask = "002";
rpc-whitelist-enabled = false; rpc-whitelist-enabled = false;
rpc-host-whitelist-enabled = false; rpc-host-whitelist-enabled = false;
rpc-port = 9091;
rpc-enable = true;
rpc-bind-address = "0.0.0.0";
# "normal" speed limits # "normal" speed limits
speed-limit-down-enabled = false; speed-limit-down-enabled = false;