nix-config/hosts/homes/ambroisie@ambroisie/default.nix
Bruno BELANYI d8896a66c8
All checks were successful
ci/woodpecker/push/check Pipeline was successful
hosts: home: cloudtop: systemd session variable
2023-05-05 09:05:51 +00:00

16 lines
443 B
Nix

# Google Cloudtop configuration
{ ... }:
{
# 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";
};
}