Git: Split git home-manager config into user-specific and machine-user specific parts

This commit is contained in:
2026-06-23 14:16:36 +02:00
parent 46e85e815d
commit 7c83ca07de
5 changed files with 28 additions and 17 deletions
+19
View File
@@ -0,0 +1,19 @@
{
flake.modules.homeManager.weckyy702-git = {
programs.git = {
enable = true;
settings = {
user = {
email = "konstantin@veltko.de";
name = "Weckyy702";
};
init.defaultBranch = "main";
};
signing = {
# NOTE: The signing key needs to be set per machine, see hosts/<name>/users/weckyy702/git.nix
format = "ssh";
signByDefault = true;
};
};
};
}
+2
View File
@@ -21,6 +21,8 @@
imports = with self.modules.homeManager; [
nixvim
btop
weckyy702-git
#TODO: moar aspects
];
};