summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--modules/home/common.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/home/common.nix b/modules/home/common.nix
index 20275ea..9e25e71 100644
--- a/modules/home/common.nix
+++ b/modules/home/common.nix
@@ -10,6 +10,10 @@
         key = "D75A C286 ACA7 00B4 D8EC 377D 2082 F8EC 11CC 009B";
         signByDefault = true;
       };
+      ignores = [
+        # ignore most vim swapfiles
+        "*~" "[._]*.sw?"
+      ];
       extraConfig.init.defaultBranch = "main";
     };