Gitconfig not used in vscodium-fhs

I have installed vscodium-fhsas a system package, as well as git via:

  programs.git = {
    enable = true;
    config = {
     ...
    }
  }

which will place the config to /etc/gitconfig.

Now vscodium-fsh doesn’t seem to be able to load this config as I can’t use the built-in git functionality nor any git command via the built-in terminal (both complaining about missing configuraiton). I have already tried to liink /etc/gitconfig to ~/.gitconfigbut this does also not satisfy vscodium-fhs. Does someone have an idea how to fix it? I’m using NixOS 25.11.

Have you tried non-FHS vscode?

Is there anything in the logs when you try to use git?

And why do you use FHS in the first place? Except for a very limited set of usecases it causes more trouble than it solves.

I’m currently switching to NixOS and didn’t want to configure every extension via nix yet (that’s what the wiki page makes it sound like) and do a shortcut getting a suitable setup running for me.