nix-config/hosts/homes/ambroisie@mousqueton/default.nix
Bruno BELANYI 00ee4629fc
All checks were successful
ci/woodpecker/push/check Pipeline was successful
hosts: homes: mousqueton: update 'LD_PRELOAD'
I was getting dynamic linker errors with the previous value.
2023-11-17 16:25:47 +00:00

30 lines
823 B
Nix

# Google Cloudtop configuration
{ lib, pkgs, ... }:
{
# Google specific configuration
home.homeDirectory = "/usr/local/google/home/ambroisie";
# Some tooling (e.g: SSH) need to use this library
home.sessionVariables = {
LD_PRELOAD = "/usr/grte/v5/lib64/libnss_cache.so.2\${LD_PRELOAD:+:}$LD_PRELOAD";
};
systemd.user.sessionVariables = {
LD_PRELOAD = "/usr/grte/v5/lib64/libnss_cache.so.2\${LD_PRELOAD:+:}$LD_PRELOAD";
};
programs.git.package = lib.mkForce pkgs.emptyDirectory;
services.gpg-agent.enable = lib.mkForce false;
my.home = {
tmux = {
# I use scripts that use the passthrough sequence often on this host
enablePassthrough = true;
# HTerm uses `xterm-256color` as its `$TERM`, so use that here
trueColorTerminals = [ "xterm-256color" ];
};
};
}