Worktree ipa lxc kerberos fix #88

Merged
beatzaplenty merged 2 commits from worktree-ipa-lxc-kerberos-fix into main 2026-07-28 03:39:23 +00:00
Showing only changes of commit 9294d2fd25 - Show all commits
+8
View File
@@ -153,6 +153,14 @@ lib.mkIf enabled {
createHome = false;
};
# home-manager-<user>.service fails on first enrollment because /home/wayne
# doesn't exist until the user's first login (pam_mkhomedir creates it then).
# ConditionPathExists makes systemd skip the service (exit 0, condition not
# met) instead of failing. After first login the dir exists and subsequent
# rebuilds activate HM normally.
systemd.services."home-manager-${vars.ipaUser}".unitConfig.ConditionPathExists =
"/home/${vars.ipaUser}";
security.sudo.extraRules = [{
users = [ vars.ipaUser ];
commands = [{ command = "ALL"; options = [ "NOPASSWD" ]; }];