feat(rpi4): update config
This commit is contained in:
parent
06ae860f16
commit
bddb4b81fd
2
rpi4.nix
2
rpi4.nix
|
@ -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"
|
||||
];
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue