about summary refs log tree commit diff stats
path: root/home-manager/soispha/config
diff options
context:
space:
mode:
Diffstat (limited to 'home-manager/soispha/config')
-rw-r--r--home-manager/soispha/config/git/default.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/home-manager/soispha/config/git/default.nix b/home-manager/soispha/config/git/default.nix
index cc505832..16c16863 100644
--- a/home-manager/soispha/config/git/default.nix
+++ b/home-manager/soispha/config/git/default.nix
@@ -1,4 +1,8 @@
-{...}: let
+{
+  lib,
+  nixosConfig,
+  ...
+}: let
   gitIgnoreFile = ./git_ignore.git;
   gitTemplateFile = ./git_template.git;
 in {
@@ -70,6 +74,10 @@ in {
           file-decoration-style = "none";
           file-style = "bold yellow ul";
         };
+        keep-plus-minus-markers =
+          if nixosConfig.soispha.laptop.enable
+          then true
+          else false;
         features = "decorations";
         whitespace-error-style = "22 reverse";
       };