aboutsummaryrefslogtreecommitdiffstats
path: root/modules/development/lazygit/default.nix
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar+git@gmail.com>2026-09-03 03:43:12 +0530
committerArpit Chakladar <arpitchakladar+git@gmail.com>2026-09-03 03:43:12 +0530
commit6169300d684126a04a6edf4f6fc65e57eb3d697d (patch)
tree537e07bd00dc1a86ab3abfcb63b806e7c5e3ab90 /modules/development/lazygit/default.nix
parentf6ef02e1a420b0bc79c05a04e572eb47ec7e0203 (diff)
parent6caeb2125491af72efdb8d8d2021ad467db4e071 (diff)
downloadhome-manager-config-6169300d684126a04a6edf4f6fc65e57eb3d697d.tar.gz
home-manager-config-6169300d684126a04a6edf4f6fc65e57eb3d697d.zip
Merge branch 'desktop-items'
Diffstat (limited to 'modules/development/lazygit/default.nix')
-rw-r--r--modules/development/lazygit/default.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/development/lazygit/default.nix b/modules/development/lazygit/default.nix
index 027ef7f..60913c0 100644
--- a/modules/development/lazygit/default.nix
+++ b/modules/development/lazygit/default.nix
@@ -14,6 +14,22 @@
};
};
config = {
+ home.file.".local/share/icons/hicolor/scalable/apps/git.svg" =
+ lib.mkIf config.development.lazygit.enable
+ {
+ source = ../../../assets/icons/apps/git.svg;
+ };
+
+ xdg.desktopEntries."lazygit" = lib.mkIf config.development.lazygit.enable {
+ name = "lazygit";
+ exec = "${lib.getExe config.terminal.kitty.package} --class lazygit -e ${lib.getExe config.development.lazygit.package}";
+ icon = "git";
+ categories = [ "Development" ];
+ comment = "A simple terminal UI for git commands";
+ terminal = false;
+ type = "Application";
+ };
+
programs.lazygit = lib.mkIf config.development.lazygit.enable {
enable = true;
enableBashIntegration = config.terminal.bash.enable;