This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

1{ config, lib, pkgs, ... }: 2{ 3 systemd.tmpfiles.rules = [ 4 "L+ /var/lib/hass/custom_components/pyscript - - - - ${pkgs.fetchzip { 5 url = "https://github.com/custom-components/pyscript/releases/download/1.3.2/hass-custom-pyscript.zip"; 6 sha256 = "0cqdjj46s5xp4mqxb0ic790jm1xp3z0zr2n9f7bsfl5zpvdshl8z"; 7 stripRoot = false; 8 }}" 9 ]; 10 11 services.home-assistant = { 12 package = (pkgs.home-assistant.overrideAttrs (old: { 13 doInstallCheck = false; 14 })).override { 15 extraPackages = pp: [ pp.croniter ]; 16 }; 17 config.pyscript = { 18 allow_all_imports = true; 19 hass_is_global = true; 20 }; 21 }; 22 23 networking.firewall.interfaces.retiolum.allowedTCPPortRanges = [ 24 { from = 50321; to = 50341; } # for ipython interactive debugging 25 ]; 26}