better ccli

This commit is contained in:
ari committed 2026-04-14 19:16:38 -04:00
1 parent 11893ae742
commit 0c8f136b14
2 files changed
+25 -14

No files matched your search

+2 -1
View File
@@ -13,6 +13,7 @@ in
};
envPath = lib.mkOption {
type = lib.types.str;
default = "";
};
};
};
@@ -33,7 +34,7 @@ in
lib.mkIf cfg.enable {
services.k3s = {
enable = true;
environmentFile = cfg.envPath;
environmentFile = lib.mkIf (cfg.envPath != "") cfg.envPath;
role = cfg.role;
extraFlags = [
"--disable servicelb"