From 50b7c4d873e0bd3d65f50a045a563e8a19233cd5 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 25 May 2024 18:05:27 +0200 Subject: fix(git/aliases): Add missing config attrs --- modules/home/conf/git/aliases.nix | 2 +- modules/home/conf/git/default.nix | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'modules') 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}"; -- cgit 1.4.1