Remove nix from backups and migrate k3s to agent

This commit is contained in:
2025-10-14 10:29:28 +08:00
parent c1e172a194
commit 43cdbb5112
2 changed files with 3 additions and 9 deletions

View File

@@ -31,18 +31,15 @@ in
sshKeyFile = config.age.secrets.btrbk-keyfile.path;
};
my_k3s = {
enable = true;
role = "agent";
tokenFile = config.age.secrets.k3s.path;
clusterInit = false;
serverAddr = "https://10.222.0.13:6443";
extraFlags = [
"--disable=servicelb"
"--disable=traefik"
"--node-ip 10.222.0.249"
"--flannel-iface ztxh6lvd6t"
"--flannel-backend=host-gw"
"--tls-san 10.222.0.249"
];
nvidia = true;
};
@@ -73,7 +70,7 @@ in
networking = {
networkmanager.enable = true;
nftables.enable = true;
nftables.enable = false;
firewall = {
enable = true;
allowedTCPPorts = [