From 6100a092af2f21270a3d689d771f9a3857b04ca6 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Tue, 4 Jul 2023 15:40:39 +0000 Subject: [PATCH] hosts: homes: cloudtop: disable 'git' package A recent update modified `ssh_config`, and nixpkgs' version of OpenSSH does not know how to deal with those options. The `git` package does not make use of the system-provided SSH client, and errors-out. Given that those patches are never going to be upstreamed, just override the `git` package, and use the system-provided one instead... --- hosts/homes/ambroisie@ambroisie/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hosts/homes/ambroisie@ambroisie/default.nix b/hosts/homes/ambroisie@ambroisie/default.nix index 5a561f7..94efc09 100644 --- a/hosts/homes/ambroisie@ambroisie/default.nix +++ b/hosts/homes/ambroisie@ambroisie/default.nix @@ -1,5 +1,5 @@ # Google Cloudtop configuration -{ ... }: +{ lib, pkgs, ... }: { # Google specific configuration home.homeDirectory = "/usr/local/google/home/ambroisie"; @@ -12,4 +12,6 @@ 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; }