From 65fc5ff2111fc582a170726e828fe0324828a787 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Fri, 17 Nov 2023 15:23:42 +0000 Subject: [PATCH] hosts: homes: mousqueton: remove 'LD_PRELOAD' It looks like the work-around is not needed anymore, and otherwise results in dynamic linker errors. --- hosts/homes/ambroisie@mousqueton/default.nix | 9 --------- 1 file changed, 9 deletions(-) diff --git a/hosts/homes/ambroisie@mousqueton/default.nix b/hosts/homes/ambroisie@mousqueton/default.nix index 7fcd356..06ee817 100644 --- a/hosts/homes/ambroisie@mousqueton/default.nix +++ b/hosts/homes/ambroisie@mousqueton/default.nix @@ -4,15 +4,6 @@ # Google specific configuration home.homeDirectory = "/usr/local/google/home/ambroisie"; - # Some tooling (e.g: SSH) need to use this library - home.sessionVariables = { - 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"; - }; - programs.git.package = lib.mkForce pkgs.emptyDirectory; services.gpg-agent.enable = lib.mkForce false;