1

Home: Update config for new lock

This commit is contained in:
2025-11-05 19:09:13 +01:00
parent 8d63f6f649
commit 882ee908e4
13 changed files with 67 additions and 56 deletions

View File

@ -11,30 +11,29 @@ in {
options.modules.git = import ./options.nix {inherit lib mylib;};
config = lib.mkIf git.enable {
programs.git = {
programs.diff-so-fancy = {
enable = true;
enableGitIntegration = true;
# userEmail = "christoph.urlacher@protonmail.com";
# userName = "Christoph Urlacher";
userEmail = git.userEmail;
userName = git.userName;
signing = {
signByDefault = git.signCommits;
format = "ssh";
key = "~/.ssh/id_ed25519.pub";
};
lfs.enable = true;
diff-so-fancy = {
enable = true;
settings = {
changeHunkIndicators = true;
markEmptyLines = false;
stripLeadingSymbols = true;
};
};
programs.git = {
enable = true;
# settings.user.email = "christoph.urlacher@protonmail.com";
# settings.user.name = "Christoph Urlacher";
settings = {
user = {
email = git.userEmail;
name = git.userName;
};
extraConfig = {
core = {
compression = 9;
# whitespace = "error";
@ -111,6 +110,14 @@ in {
};
};
};
signing = {
signByDefault = git.signCommits;
format = "ssh";
key = "~/.ssh/id_ed25519.pub";
};
lfs.enable = true;
};
};
}