From 8bd064c828c2e321d9c1975d83951e49fd04729a Mon Sep 17 00:00:00 2001 From: MichaelFisher1997 Date: Sun, 1 Mar 2026 13:31:36 +0000 Subject: [PATCH] fix: keep micqdf user during kubeadm node rebuilds --- nixos/kubeadm/modules/k8s-common.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixos/kubeadm/modules/k8s-common.nix b/nixos/kubeadm/modules/k8s-common.nix index 97e2aed..3f9d1fd 100644 --- a/nixos/kubeadm/modules/k8s-common.nix +++ b/nixos/kubeadm/modules/k8s-common.nix @@ -59,6 +59,13 @@ in KbdInteractiveAuthentication = false; }; + users.users.micqdf = { + isNormalUser = true; + extraGroups = [ "wheel" ]; + }; + + security.sudo.wheelNeedsPassword = false; + nix.settings.trusted-users = [ "root" "micqdf" ]; nix.gc = { automatic = true;