From b3a99871641cc69422e4e6e76e370394fc060fe4 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Mon, 31 Oct 2022 23:21:41 -0400 Subject: [PATCH] add k3s config file --- hosts/levi/kube.nix | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 hosts/levi/kube.nix diff --git a/hosts/levi/kube.nix b/hosts/levi/kube.nix new file mode 100644 index 0000000..87aeffb --- /dev/null +++ b/hosts/levi/kube.nix @@ -0,0 +1,6 @@ +{ pkgs, ... }: +{ + networking.firewall.allowedTCPPorts = [ 6443 ]; + environment.systemPackages = [ pkgs.kubectl ]; + services.k3s.enable = true; +}