big great refactor

This commit is contained in:
elwrcl committed 2026-05-29 18:33:58 +03:00
1 parent 596bcb4a94
commit 5a7501eec0
73 files changed
+537 -644

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
{
pkgs,
lib,
...
}:
let
base = ''
[user]
name = elwrcl
email = elwerici@proton.me
signingkey = AAC15D93AFCAB283
[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}";
}