about summary refs log tree commit diff stats
path: root/nix-conf
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2024-09-03 15:46:03 +0100
committerDavid Morgan <djm_uk@protonmail.com>2024-09-03 15:46:03 +0100
commit7b252c3b7f234cf6994a6dfb33bde3bc640317e6 (patch)
tree0eff34b1a2b70da5202465a5fe7f2fb77a35c35f /nix-conf
parent72cbea45f37a62002c0f7b14b2c3334133eda2ac (diff)
downloaddotfiles-7b252c3b7f234cf6994a6dfb33bde3bc640317e6.tar.gz
Format git config with nixfmt
Diffstat (limited to 'nix-conf')
-rw-r--r--nix-conf/home/otm.nix26
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";