From 56855d6bd36305424c9a79a999feeac0c6cc994a Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Tue, 13 Jun 2023 17:39:34 -0600 Subject: [PATCH] configs/git: even less isUnstable \o/ --- configs/git.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configs/git.nix b/configs/git.nix index b86bba2..d609831 100644 --- a/configs/git.nix +++ b/configs/git.nix @@ -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 = {