add environment variable

This commit is contained in:
Andreas Zweili 2022-03-04 17:33:15 +01:00
parent 293bd24977
commit e65d75d81a
1 changed files with 3 additions and 0 deletions

View File

@ -9,5 +9,8 @@
pkgs.kubectl
pkgs.kubernetes-helm
];
environment.variables = {
KUBECONFIG = "/etc/rancher/k3s/k3s.yaml";
};
networking.firewall.allowedTCPPorts = [ 6443 ];
}