summaryrefslogtreecommitdiffstats
path: root/nixos
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2024-05-09 17:43:50 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2024-05-11 23:01:35 +0200
commit7909e0f7d63ddb627867f1198ffbb09f2fe31c9f (patch)
treec775aa66d1a2ba6cf52fddda6223933bdac2fb66 /nixos
parentc5b216028b5d498db048a71bfa5e60e0998b6ccf (diff)
nixos/pixiecore: fix apiServer example
Add missing http:// scheme. Without it pixiecore logs this and never contacts the API server: [DHCP] Couldn't get bootspec for [REDACTED_MAC_ADDR]: Get "localhost:8080/v1/boot/[REDACTED_MAC_ADDR]": unsupported protocol scheme "localhost"
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/pixiecore.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/pixiecore.nix b/nixos/modules/services/networking/pixiecore.nix
index cfdb8014136e..111cb7e35504 100644
--- a/nixos/modules/services/networking/pixiecore.nix
+++ b/nixos/modules/services/networking/pixiecore.nix
@@ -82,8 +82,8 @@ in
apiServer = mkOption {
type = types.str;
- example = "localhost:8080";
- description = "host:port to connect to the API. Ignored unless mode is set to 'api'";
+ example = "http://localhost:8080";
+ description = "URI to connect to the API. Ignored unless mode is set to 'api'";
};
extraArguments = mkOption {