summary refs log tree commit diff
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2024-11-17 11:08:39 +0100
committerMel <einebeere@gmail.com>2024-11-17 11:08:39 +0100
commit55023ddc17a35eda18b9c3298b19f8ad4711629c (patch)
tree398592f609f7eaa6d6494c9b8a3068531b72baf1
parenta19244538e81f9be6080ad4f3a665301eaf5df14 (diff)
downloadminerals-55023ddc17a35eda18b9c3298b19f8ad4711629c.tar.zst
minerals-55023ddc17a35eda18b9c3298b19f8ad4711629c.zip
git-ignore most swapfiles created by Vim
Signed-off-by: Mel <einebeere@gmail.com>
-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 35a260c..3e9e17e 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 swap-files
+        "*~" "[._]*.sw?"
+      ];
       extraConfig.init.defaultBranch = "main";
     };