diff options
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"; |