configs/git: even less isUnstable \o/

This commit is contained in:
Aaron Bieber 2023-06-13 17:39:34 -06:00
parent 6469d93e49
commit 56855d6bd3
No known key found for this signature in database

View File

@ -1,4 +1,4 @@
{ config, isUnstable, ... }:
{ config, ... }:
let
rewriteGitHub = if config.networking.hostName != "stan" then {
url = { "ssh://git@github.com/" = { insteadOf = "https://github.com/"; }; };
@ -34,8 +34,8 @@ in {
}
{ push = { default = "current"; }; }
{ gpg = if isUnstable then { format = "ssh"; } else { }; }
{ commit = if isUnstable then { gpgsign = true; } else { }; }
{ gpg = { format = "ssh"; }; }
{ commit = { gpgsign = true; }; }
{
color = {