Skip to content
Permalink
Browse files

switch deprecated string -> str

  • Loading branch information...
disassembler committed Oct 10, 2019
1 parent 5ed97e7 commit 4be0accdf2d3b1178c13502b2a163bcda61f731b
Showing with 7 additions and 7 deletions.
  1. +3 −3 docker/arion-compose.nix
  2. +2 −2 nixos/jormungandr-explorer.nix
  3. +2 −2 nixos/jormungandr-monitor.nix
@@ -6,12 +6,12 @@

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}'
@@ -27,4 +27,4 @@
];
};
};
}
}
@@ -28,12 +28,12 @@ in {
};

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";
};

@@ -19,12 +19,12 @@ in {
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";
};

0 comments on commit 4be0acc

Please sign in to comment.
You can’t perform that action at this time.