about summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/home/conf/git/aliases.nix2
-rw-r--r--modules/home/conf/git/default.nix4
2 files changed, 2 insertions, 4 deletions
diff --git a/modules/home/conf/git/aliases.nix b/modules/home/conf/git/aliases.nix
index 4461e31c..a9536e9a 100644
--- a/modules/home/conf/git/aliases.nix
+++ b/modules/home/conf/git/aliases.nix
@@ -1,4 +1,4 @@
-{lib}: {
+{lib, config}: {
   cmr = "commit --file .git/COMMIT_EDITMSG --edit --verbose";
 
   st = "status";
diff --git a/modules/home/conf/git/default.nix b/modules/home/conf/git/default.nix
index 8a8e73ff..6680c598 100644
--- a/modules/home/conf/git/default.nix
+++ b/modules/home/conf/git/default.nix
@@ -1,8 +1,6 @@
 {
   lib,
   config,
-  sysLib,
-  pkgs,
   ...
 }: let
   gitIgnoreFile = ./git_ignore.git;
@@ -11,7 +9,7 @@ in {
   programs.git = {
     enable = true;
     #package = pkgs.gitAndTools.gitFull; # TODO: for git send-email support
-    aliases = import ./aliases.nix {inherit lib pkgs;};
+    aliases = import ./aliases.nix {inherit lib config;};
     extraConfig = {
       core = {
         excludesFile = "${gitIgnoreFile}";