local drivers

This commit is contained in:
elwrcl committed 2026-10-09 19:06:03 +03:00
1 parent 7e965fe195
commit a71d522e5a
76 files changed
+37344 -18

No files matched your search

+9 -2
View File
@@ -1,7 +1,7 @@
{ ... }:
{
commonModules.common-git =
{ pkgs, lib, ... }:
{ pkgs, ... }:
let
base = ''
[user]
@@ -19,7 +19,14 @@
helper = osxkeychain
'';
gitconfig = pkgs.writeText "gitconfig" (base + lib.optionalString pkgs.stdenv.isDarwin darwinExtra);
linuxExtra = ''
[credential]
helper = ${pkgs.gitFull}/bin/git-credential-libsecret
'';
gitconfig = pkgs.writeText "gitconfig" (
base + (if pkgs.stdenv.isDarwin then darwinExtra else linuxExtra)
);
in
{
environment.variables.GIT_CONFIG_SYSTEM = "${gitconfig}";