Files
nix-config/hosts/common/optional/services/k3s.nix
2025-11-15 13:26:17 +05:00

16 lines
253 B
Nix

{pkgs, ...}: {
environment.systemPackages = with pkgs; [
k3s
cifs-utils
nfs-utils
];
services.k3s = {
enable = true;
role = "agent";
# Add this before running
token = "";
serverAddr = "https://rashid:6443";
};
}