feat(rpi4): update config

This commit is contained in:
Felix Schröter 2021-10-23 03:20:38 +02:00
parent 06ae860f16
commit bddb4b81fd
No known key found for this signature in database
GPG key ID: 910ACB9F6BD26F58
2 changed files with 7 additions and 0 deletions

View file

@ -46,6 +46,7 @@ in with builtins; {
networking.domain = "home.felschr.com";
networking.firewall.allowedTCPPorts = [ 80 443 ];
networking.firewall.allowedUDPPorts = [ 80 443 ];
security.acme = {
acceptTerms = true;
@ -60,6 +61,7 @@ in with builtins; {
"*.home.felschr.com"
"home.felschr.com"
"media.felschr.com"
"mqtt.felschr.com"
"owntracks.felschr.com"
"etebase.felschr.com"
];

View file

@ -71,6 +71,11 @@ in {
services.home-assistant = {
enable = true;
openFirewall = true;
package = (pkgs.home-assistant.overrideAttrs (oldAttrs: rec {
# pytestCheckPhase uses too much RAM and pi can't handle it
doCheck = false;
doInstallCheck = false;
})).override { extraComponents = [ "otp" ]; };
config = {
homeassistant = {
name = "Home";