diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2024-05-09 17:43:50 +0200 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2024-05-11 23:01:35 +0200 |
commit | 7909e0f7d63ddb627867f1198ffbb09f2fe31c9f (patch) | |
tree | c775aa66d1a2ba6cf52fddda6223933bdac2fb66 /nixos/modules/services | |
parent | c5b216028b5d498db048a71bfa5e60e0998b6ccf (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/modules/services')
-rw-r--r-- | nixos/modules/services/networking/pixiecore.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/pixiecore.nix b/nixos/modules/services/networking/pixiecore.nix index cfdb8014136ed..111cb7e355040 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 { |