From 065a6e1eb0813243f61b0b53b90205f01b5642e6 Mon Sep 17 00:00:00 2001 From: Christoph Heiss Date: Fri, 23 Aug 2024 11:07:05 +0200 Subject: [PATCH] machines: maui: set git suppress-cc to 'all' Signed-off-by: Christoph Heiss --- machines/maui.nix | 5 ++++- system/home-manager/desktop.nix | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/machines/maui.nix b/machines/maui.nix index b4e1a12..84a58d6 100644 --- a/machines/maui.nix +++ b/machines/maui.nix @@ -25,7 +25,10 @@ terminal.fontSize = 10.5; }; - programs.git.signing.signByDefault = false; + programs.git = { + signing.signByDefault = false; + extraConfig.sendemail.suppresscc = "all"; + }; # Nix's swaylock is broken when using on Debian due to some PAM # incompatibilities. Work around that by simply running Debians diff --git a/system/home-manager/desktop.nix b/system/home-manager/desktop.nix index 86d80df..177715b 100644 --- a/system/home-manager/desktop.nix +++ b/system/home-manager/desktop.nix @@ -118,7 +118,7 @@ in { sendemail = { annotate = true; confirm = "always"; - suppresscc = "self"; + suppresscc = lib.mkDefault "self"; }; notes = { rewrite = {