View on GitHub
File Changes

                      
      nixos.configuration = {config, pkgs, ...}: (import ../nixos) // {
        boot.isContainer = true;
-
        
+

                      
        services.jormungandr = {
          enable = true;
          block0 = ../block-0.bin;
        };
-
        
+

                      
        system.build.run-jormungandr = pkgs.writeScript "run-jormungandr" ''
            #!${pkgs.bash}/bin/bash
            PATH='${config.systemd.services.jormungandr.environment.PATH}'
      ];
    };
  };
-
}
\ No newline at end of file
+
}
      };

                      
      jormungandrApi = mkOption {
-
        type = types.string;
+
        type = types.str;
        default = "http://localhost/explorer/graphql";
      };

                      
      virtualHost = mkOption {
-
        type = types.string;
+
        type = types.str;
        default = "jormungandr-explorer.localhost";
      };

                      
      enable = mkEnableOption "jormungandr monitor";

                      
      monitorAddresses = mkOption {
-
        type = types.listOf types.string;
+
        type = types.listOf types.str;
        default = [ ];
      };

                      
      jormungandrApi = mkOption {
-
        type = types.string;
+
        type = types.str;
        default = "http://${cfgJormungandr.rest.listenAddress}/api";
      };