nix-config/hosts/homes/ambroisie@ambroisie/default.nix
Bruno BELANYI 5b59a9cf82
Some checks failed
ci/woodpecker/push/check Pipeline failed
hosts: homes: cloudtop: enable tmux passthrough
Mostly used for my `osc52` and `osc777` scripts.
2023-08-21 13:20:25 +00:00

21 lines
626 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 = "/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;
# I use scripts that use the passthrough sequence often on this host
my.home.tmux.enablePassthrough = true;
}