diff --git a/nix/configuration/roles/kubernetes/default.nix b/nix/configuration/roles/kubernetes/default.nix index 74ad70e..cc3d926 100644 --- a/nix/configuration/roles/kubernetes/default.nix +++ b/nix/configuration/roles/kubernetes/default.nix @@ -40,4 +40,19 @@ in alias_kdel alias_kd ]; + + environment.persistence."/persist" = lib.mkIf (!config.me.buildingIso) { + hideMounts = true; + users.talexander = { + directories = [ + { + directory = ".kube"; + user = "talexander"; + group = "talexander"; + mode = "0750"; + } + ]; + }; + }; + }