From 1fca5ab697d9c40508266b253f0cda52074b8112 Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 17 May 2022 01:26:06 +0200 Subject: [PATCH] Ignore global git config when not root --- modules/gui.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/gui.nix b/modules/gui.nix index eed82ca..ef8946c 100644 --- a/modules/gui.nix +++ b/modules/gui.nix @@ -46,6 +46,7 @@ with pkgs; export XDG_SESSION_TYPE=wayland export XDG_CURRENT_DESKTOP=sway export NVIM_LISTEN_ADDRESS=/tmp/nvimsocket + export GIT_CONFIG_NOSYSTEM=true ''; wrapperFeatures.gtk = true; };