From 9f2e31f15b62d9cdefbc57423db3e4c7e99854fb Mon Sep 17 00:00:00 2001 From: Thomas Syms Date: Tue, 13 Feb 2024 08:58:16 -0400 Subject: [PATCH] Added lazygit to git file and added alias --- home/shell/common.nix | 1 - home/shell/git.nix | 12 +++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/home/shell/common.nix b/home/shell/common.nix index 4b27af6..d3bc09a 100644 --- a/home/shell/common.nix +++ b/home/shell/common.nix @@ -8,7 +8,6 @@ ollama # Development - lazygit mprocs tokei diff --git a/home/shell/git.nix b/home/shell/git.nix index e2dc95e..ac1f788 100644 --- a/home/shell/git.nix +++ b/home/shell/git.nix @@ -1,5 +1,11 @@ {pkgs, ...}: { - home.packages = [pkgs.gh]; + home.packages = with pkgs; [ + gh + ]; + + programs.lazygit = { + enable = true; + }; programs.git = { enable = true; @@ -7,4 +13,8 @@ userName = "Thomas Syms"; userEmail = "thomassyms@gmail.com"; }; + + home.shellAliases = { + lgit = "lazygit"; + }; }