diff options
author | David Morgan <djm_uk@protonmail.com> | 2024-09-03 15:46:03 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2024-09-03 15:46:03 +0100 |
commit | 7b252c3b7f234cf6994a6dfb33bde3bc640317e6 (patch) | |
tree | 0eff34b1a2b70da5202465a5fe7f2fb77a35c35f /nix-conf | |
parent | 72cbea45f37a62002c0f7b14b2c3334133eda2ac (diff) | |
download | dotfiles-7b252c3b7f234cf6994a6dfb33bde3bc640317e6.tar.gz |
Format git config with nixfmt
Diffstat (limited to 'nix-conf')
-rw-r--r-- | nix-conf/home/otm.nix | 26 |
1 files changed, 22 insertions, 4 deletions
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"; |