commit 004cd3a9eac5474871648d80c2874ffebeef8f53 parent 8616e089ac80f669e64b6460446fbf1311383ffb Author: Vincent Demeester <vincent@sbr.pm> Date: Mon, 31 Oct 2022 16:52:09 +0100 systems/k3s: rying k3s Signed-off-by: Vincent Demeester <vincent@sbr.pm> Diffstat:
M | systems/hosts/shikoku.nix | | | 9 | +++++++++ |
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/systems/hosts/shikoku.nix b/systems/hosts/shikoku.nix @@ -95,6 +95,15 @@ in }; }; + # Single node k3s + networking.firewall.allowedTCPPorts = [ 6443 ]; + services.k3s.enable = true; + services.k3s.role = "server"; + services.k3s.extraFlags = toString [ + # "--kubelet-arg=v=4" # Optionally add additional args to k3s + ]; + environment.systemPackages = [ pkgs.k3s ]; + programs.ssh.setXAuthLocation = true; profiles = { bind.enable = true;