anchor.diff:      (recursiveUpdate defaultConfig cfg.config) else cfg.config));
     configFile = pkgs.runCommand "configuration.yaml" { preferLocalBuild = true; } ''
       ${pkgs.remarshal}/bin/json2yaml -i ${configJSON} -o $out
  +    # Hack to support secrets, that are encoded as custom yaml objects,
  +    # https://www.home-assistant.io/docs/configuration/secrets/
  +    sed -i -e "s/'\!secret \(.*\)'/\!secret \1/" $out
     '';
   
     lovelaceConfigJSON = pkgs.writeText "ui-lovelace.json"
  
positive.code:       description = ''
          Your <filename>configuration.yaml</filename> as a Nix attribute set.
          Beware that setting this option will delete your previous <filename>configuration.yaml</filename>.
        '';
      };
  
  
negative.code:         {
            homeassistant = {
              name = "Home";
              latitude = "!secret latitude";
              longitude = "!secret longitude";
              elevation = "!secret elevation";
              unit_system = "metric";
              time_zone = "UTC";
            };
            frontend = { };
  