diff options
Diffstat (limited to 'common/commandline')
-rw-r--r-- | common/commandline/git.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/commandline/git.nix b/common/commandline/git.nix index 7c387c2..1886a0a 100644 --- a/common/commandline/git.nix +++ b/common/commandline/git.nix | |||
@@ -35,6 +35,8 @@ inputs: | |||
35 | whitespace = "trailing-space,space-before-tab"; | 35 | whitespace = "trailing-space,space-before-tab"; |
36 | pager = deltaCommand; | 36 | pager = deltaCommand; |
37 | interactive.diffFilter = "${deltaCommand} --color-only"; | 37 | interactive.diffFilter = "${deltaCommand} --color-only"; |
38 | untrackedCache = true; | ||
39 | fsmonitor = "${pkgs.rs-git-fsmonitor}/bin/rs-git-fsmonitor"; | ||
38 | }; | 40 | }; |
39 | 41 | ||
40 | diff = { | 42 | diff = { |
@@ -79,6 +81,7 @@ inputs: | |||
79 | # TODO: move common to NixOS' programs.git.config | 81 | # TODO: move common to NixOS' programs.git.config |
80 | home-manager.users.root = { ... }: { | 82 | home-manager.users.root = { ... }: { |
81 | programs.git = with lib; | 83 | programs.git = with lib; |
84 | # TODO: use `home-manager.sharedModules`? | ||
82 | mkMerge [ | 85 | mkMerge [ |
83 | (mkDefault config.home-manager.users.minijackson.programs.git) | 86 | (mkDefault config.home-manager.users.minijackson.programs.git) |
84 | { | 87 | { |