anchor.diff:  
     config = mkIf cfg.enable {
       networking.firewall.allowedTCPPorts = mkIf cfg.openFirewall [ cfg.port ];
  +
  +    systemd.tmpfiles.rules = mkIf (cfg.pythonScripts != null) [
  +      "L+ ${cfg.configDir}/python_scripts - - - - ${cfg.pythonScripts}"
  +    ];
  +
  +    services.home-assistant.config.python_script = mkIf (cfg.pythonScripts != null) {};
   
       systemd.services.home-assistant = {
         description = "Home Assistant";
  
positive.code:       '';
      };
  
      openFirewall = mkOption {
        default = false;
        type = types.bool;
  
negative.code:     lovelace.mode = "yaml";
    };
  
    #pythonScripts = pkgs.runCommand "python_scripts" {
    #  nativeBuildInputs = [ pkgs.python3 ];
    #  scripts = cfg.pythonScripts;
    #} ''
    #  mkdir $out
    #  for s in $scripts; do
    #    echo "checking syntax of $s"
    #    python -m py_compile "$s"
    #    ln -s "$s" "$out/$(basename $s"
    #  done
    #'';
  in {
    meta.maintainers = with maintainers; [ dotlambda ];
  
  