the authentication update

This commit is contained in:
Reid 2024-05-24 17:46:11 -07:00
parent c22b92f412
commit 98b32cb9e6
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD
3 changed files with 12 additions and 2 deletions

View file

@ -21,6 +21,4 @@ each host should have these files:
- divide steam and gamemode? - divide steam and gamemode?
- cursor size theme option - cursor size theme option
- sddm x11 support, too. or maybe just remove x11 - sddm x11 support, too. or maybe just remove x11
- gnome-keyring basic libsecret support works, add ssh too plz :heart:
- git gpg signing
- hyprcursor - hyprcursor

View file

@ -16,6 +16,11 @@ in {
userName = ''Reid "reidlab"''; userName = ''Reid "reidlab"'';
userEmail = "reidlab325@gmail.com"; userEmail = "reidlab325@gmail.com";
signing = {
signByDefault = true;
key = "DAF5EAF6665839FD";
};
ignores = [ ignores = [
# General # General
"*.direnv" "*.direnv"
@ -37,8 +42,13 @@ in {
}; };
extraConfig = { extraConfig = {
# password caching w libsecret, use gnome-keyring or kwallet
credential.helper = "${pkgs.gitFull}/bin/git-credential-libsecret";
push.autoSetupRemote = true; push.autoSetupRemote = true;
push.gpgSign = "if-asked";
pull.rebase = true; pull.rebase = true;
init.defaultBranch = "main"; init.defaultBranch = "main";
}; };
}; };

View file

@ -12,6 +12,8 @@ in {
hm.programs.gpg.enable = true; hm.programs.gpg.enable = true;
hm.services.gpg-agent = { hm.services.gpg-agent = {
enable = true; enable = true;
enableExtraSocket = true;
enableSshSupport = true;
pinentryPackage = pkgs.pinentry-gnome3; pinentryPackage = pkgs.pinentry-gnome3;
}; };