From 7b252c3b7f234cf6994a6dfb33bde3bc640317e6 Mon Sep 17 00:00:00 2001 From: David Morgan Date: Tue, 3 Sep 2024 15:46:03 +0100 Subject: Format git config with nixfmt --- nix-conf/home/otm.nix | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) (limited to 'nix-conf') diff --git a/nix-conf/home/otm.nix b/nix-conf/home/otm.nix index 46ec973..0876cbc 100644 --- a/nix-conf/home/otm.nix +++ b/nix-conf/home/otm.nix @@ -164,10 +164,28 @@ in { signing.signByDefault = lib.mkForce false; includes = lib.mkForce [ { path = config.sops.secrets."git_email_config/otm".path; } - { path = config.sops.secrets."git_email_config/default".path; condition = "gitdir:~/src/personal/"; } - { path = config.sops.secrets."git_email_config/default".path; condition = "gitdir:~/dotfiles/"; } - { contents = { commit.gpgSign = true; tag.gpgSign = true; }; condition = "gitdir:~/src/personal/"; } - { contents = { commit.gpgSign = true; tag.gpgSign = true; }; condition = "gitdir:~/dotfiles/"; } + { + path = config.sops.secrets."git_email_config/default".path; + condition = "gitdir:~/src/personal/"; + } + { + path = config.sops.secrets."git_email_config/default".path; + condition = "gitdir:~/dotfiles/"; + } + { + contents = { + commit.gpgSign = true; + tag.gpgSign = true; + }; + condition = "gitdir:~/src/personal/"; + } + { + contents = { + commit.gpgSign = true; + tag.gpgSign = true; + }; + condition = "gitdir:~/dotfiles/"; + } ]; extraConfig = { github.user = "david-morgan-otm"; -- cgit 1.4.1-2-gfad0