diff --git a/hosts/homes/ambroisie@ambroisie/default.nix b/hosts/homes/ambroisie@ambroisie/default.nix index acc5a6f..5a561f7 100644 --- a/hosts/homes/ambroisie@ambroisie/default.nix +++ b/hosts/homes/ambroisie@ambroisie/default.nix @@ -4,8 +4,12 @@ # Google specific configuration home.homeDirectory = "/usr/local/google/home/ambroisie"; + # Some tooling (e.g: SSH) need to use this library home.sessionVariables = { - # Some tooling (e.g: SSH) need to use this library + LD_PRELOAD = "/lib/x86_64-linux-gnu/libnss_cache.so.2\${LD_PRELOAD:+:}$LD_PRELOAD"; + }; + + systemd.user.sessionVariables = { LD_PRELOAD = "/lib/x86_64-linux-gnu/libnss_cache.so.2\${LD_PRELOAD:+:}$LD_PRELOAD"; }; }