From 3086227f722f6804915bf9c9c7237ec8bf697cb7 Mon Sep 17 00:00:00 2001 From: Jost Alemann Date: Wed, 9 Jul 2025 23:10:04 +0200 Subject: [PATCH] nixos/k3s: fix typo --- nixos/modules/services/cluster/k3s/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/cluster/k3s/default.nix b/nixos/modules/services/cluster/k3s/default.nix index 6f0aba9c12f6..65fab8648614 100644 --- a/nixos/modules/services/cluster/k3s/default.nix +++ b/nixos/modules/services/cluster/k3s/default.nix @@ -782,7 +782,7 @@ in ) "k3s: Images are only imported on nodes with an enabled agent, they will be ignored by this node") ++ (lib.optional ( cfg.role == "agent" && cfg.configPath == null && cfg.serverAddr == "" - ) "k3s: ServerAddr or configPath (with 'server' key) should be set if role is 'agent'") + ) "k3s: serverAddr or configPath (with 'server' key) should be set if role is 'agent'") ++ (lib.optional (cfg.role == "agent" && cfg.configPath == null && cfg.tokenFile == null && cfg.token == "") "k3s: Token or tokenFile or configPath (with 'token' or 'token-file' keys) should be set if role is 'agent'"