Bruno BELANYI
5248eb59f8
All checks were successful
ci/woodpecker/push/check Pipeline was successful
This is based on this answer [1] from Stack Overflow. I'll have to look into what the proper fix would be in general, this is just a band-aid to get it working correctly while SSH-ing from my laptop. [1]: https://stackoverflow.com/a/41786092
28 lines
851 B
Nix
28 lines
851 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;
|
|
|
|
services.gpg-agent.enable = lib.mkForce false;
|
|
|
|
# I use scripts that use the passthrough sequence often on this host
|
|
my.home.tmux.enablePassthrough = true;
|
|
|
|
programs.tmux.extraConfig = ''
|
|
# Setup 24-bit color explicitly, as the default terminfo entry does not
|
|
set-option -sa terminal-overrides ",xterm-256color:Tc"
|
|
'';
|
|
}
|