better ccli
This commit is contained in:
1 parent
11893ae742
commit
0c8f136b14
2 files changed
+25
-14
No files matched your search
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user