dentritic refactor

This commit is contained in:
elwrcl committed 2026-07-30 22:58:52 +03:00
1 parent fc386c4053
commit 301ad158d5
140 files changed
+2285 -2622

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
{ ... }:
{
commonModules.common-git =
{ pkgs, lib, ... }:
let
base = ''
[user]
name = elwrcl
email = elwerici@proton.me
signingkey = 5EA48F7312A42B84
[commit]
gpgsign = true
[tag]
gpgsign = true
'';
darwinExtra = ''
[credential]
helper = osxkeychain
'';
gitconfig = pkgs.writeText "gitconfig" (base + lib.optionalString pkgs.stdenv.isDarwin darwinExtra);
in
{
environment.variables.GIT_CONFIG_SYSTEM = "${gitconfig}";
};
}