run k3s deploys as root

This commit is contained in:
2026-05-31 22:19:56 -05:00
parent 79202805a8
commit 638a367fea
+2 -10
View File
@@ -35,14 +35,6 @@
};
};
config = lib.mkIf opts.enable {
users.groups.nimh = { };
users.users.nimh = {
isSystemUser = true;
createHome = false;
group = "nimh";
};
systemd.services.nimh-static = {
description = "oneshot apply service to k3s";
after = [ "k3s.service" ];
@@ -62,8 +54,8 @@
$kubectl apply -k $kubernetes_config
'';
User = "nimh";
Group = "nimh";
User = "root";
Group = "root";
};
};