This commit is contained in:
2026-02-18 21:23:56 +01:00
commit 11ce3ba32f
41 changed files with 2422 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
{ ... }:
{
boot.kernelParams = [
"cgroup_memory=1"
"cgroup_enable=memory"
"cgroup_enable=cpuset"
];
services.k3s = {
enable = true;
role = "agent";
serverAddr = "https://192.168.2.2:6443";
};
networking.firewall = {
allowedTCPPortRanges = [
{ from = 10250; to = 10250; }
{ from = 30000; to = 32767; }
];
trustedInterfaces = [ "cni0" ];
};
}