feat: update home-manager configuration

This commit is contained in:
Zhongheng Liu 2025-04-13 13:32:53 +03:00
commit b487953311
Signed by: steven
GPG key ID: 805A28B071DAD84B
18 changed files with 232 additions and 219 deletions

View file

@ -8,15 +8,6 @@
package = pkgs.gitFull;
userName = config.myDisplayName;
userEmail = config.myEmail;
extraConfig = {
core.autocrlf = "input";
push.autoSetupRemote = true;
commit.gpgsign = true;
#gpg.format = "ssh";
#gpg.ssh.allowedSignersFile = "/home/${config.myUserName}/.ssh/allowed_signers";
#user.signingkey = "/home/${config.myUserName}/.ssh/id_ed25519.pub";
user.signingkey = "DC8F48E7B4C40905";
credential.helper = "libsecret";
};
extraConfig = import ./git_config.nix;
};
}

View file

@ -0,0 +1,13 @@
{
core.autocrlf = "input";
push = {
autoSetupRemote = true;
followTags = true;
};
commit.gpgsign = true;
#gpg.format = "ssh";
#gpg.ssh.allowedSignersFile = "/home/${config.myUserName}/.ssh/allowed_signers";
#user.signingkey = "/home/${config.myUserName}/.ssh/id_ed25519.pub";
user.signingkey = "DC8F48E7B4C40905";
credential.helper = "libsecret";
}