about summary refs log tree commit diff stats
path: root/modules/home/conf/git
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-05-25 18:05:27 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-05-25 18:11:20 +0200
commit50b7c4d873e0bd3d65f50a045a563e8a19233cd5 (patch)
treef90f24f0c5a211bf022e6c3387b5fa4b0a304173 /modules/home/conf/git
parentdocs(pkgs): Add TODO regarding the lack of source filtering (diff)
downloadnixos-config-50b7c4d873e0bd3d65f50a045a563e8a19233cd5.tar.gz
nixos-config-50b7c4d873e0bd3d65f50a045a563e8a19233cd5.zip
fix(git/aliases): Add missing config attrs
Diffstat (limited to 'modules/home/conf/git')
-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}";