Git: Split git home-manager config into user-specific and machine-user specific parts
This commit is contained in:
@@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -21,6 +21,8 @@
|
||||
imports = with self.modules.homeManager; [
|
||||
nixvim
|
||||
btop
|
||||
|
||||
weckyy702-git
|
||||
#TODO: moar aspects
|
||||
];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user