Compare commits

...

3 Commits

Author SHA1 Message Date
Nathan McCarty e400a07efd
Oop 2023-03-27 18:59:34 -04:00
Nathan McCarty 65e84f8b22
core utils 2023-03-27 18:55:11 -04:00
Nathan McCarty cf1cbd5c48
Git ssh signing darwin
also fix defaults woop
2023-03-27 18:48:01 -04:00
3 changed files with 14 additions and 6 deletions

View File

@ -86,10 +86,6 @@ with lib; {
package = pkgs.gitAndTools.gitFull; package = pkgs.gitAndTools.gitFull;
userName = "Nathan McCarty"; userName = "Nathan McCarty";
userEmail = "nathan@mccarty.io"; userEmail = "nathan@mccarty.io";
signing = {
key = lib.mkDefault "B7A40A5D78C08885";
signByDefault = config.nathan.programs.util.git.gpgSign;
};
ignores = [ ignores = [
"**/*~" "**/*~"
"*~" "*~"

View File

@ -14,4 +14,12 @@
}; };
config = { isDesktop = true; }; config = { isDesktop = true; };
}; };
# Setup git commit signing with ssh key
programs.git = {
extraConfig = {
commit.gpgsign = true;
gpg.format = "ssh";
user.signingkey = "~/.ssh/id_ed25519.pub";
};
};
} }

View File

@ -74,8 +74,12 @@ in {
{ name = "signal"; } { name = "signal"; }
{ name = "mattermost"; } { name = "mattermost"; }
]) ])
# Unconditionally install our keep awake tool # Unconditionally install core utilites
[{ name = "keepingyouawake"; }] [
{ name = "keepingyouawake"; }
{ name = "iterm2"; }
{ name = "gpg-suite"; }
]
]; ];
brews = lib.mkMerge [ brews = lib.mkMerge [
(lib.mkIf config.nathan.programs.syncthing [{ (lib.mkIf config.nathan.programs.syncthing [{