From 97c0b3f7a25e64eeb832557977779398a13ff62f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Sun, 8 Feb 2026 14:40:37 +0100 Subject: [PATCH] kanidm-client: use home_alias for symlink to short name Use home_alias instead of home_attr - this creates a symlink from /home/torjus to the actual home directory, providing a convenient short path without breaking the underlying storage. Co-Authored-By: Claude Opus 4.5 --- system/kanidm-client.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/kanidm-client.nix b/system/kanidm-client.nix index fdcb5a9..c720aa7 100644 --- a/system/kanidm-client.nix +++ b/system/kanidm-client.nix @@ -34,8 +34,8 @@ in # This prevents "PAM user mismatch" errors with SSH uid_attr_map = "name"; gid_attr_map = "name"; - # Use /home/torjus instead of /home/torjus@home.2rjus.net - home_attr = "name"; + # Create symlink /home/torjus -> /home/torjus@home.2rjus.net + home_alias = "name"; }; }; };