diff options
| author | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-18 12:15:20 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-18 12:15:20 +0530 |
| commit | 4124a5ae231a585b945c9547a3ab0c37a4eba7e3 (patch) | |
| tree | b51774266eab457a13ee176bd6cd76b093b16d03 /modules/development/lazygit/default.nix | |
| parent | 302f83b23b364b08dc47725266db5e20437d71e4 (diff) | |
| download | home-manager-config-4124a5ae231a585b945c9547a3ab0c37a4eba7e3.tar.gz home-manager-config-4124a5ae231a585b945c9547a3ab0c37a4eba7e3.zip | |
refactor: replace zsh deps with runtimeShell, migrate scripts from symlinkJoin to runCommand, add missing assertions and deps
Scripts: Migrated from symlinkJoin to runCommand; replaced zsh
dependency with pkgs.runtimeShell across polybar, scripts, and
fzf-launcher
Assertions: Added gopass/gpg checks for neomutt, signing checks for git,
git dependency for lazygit, file-preview deps for lf, desktop/kitten
checks for scripts
Lazygit: Fixed mkIf placement, imported assertions
Neomutt: Removed verbose keybinding descriptions
Nixvim: Removed <c-c> notification-clear mapping
File preview: Replaced libreoffice document preview with pandoc/antiword
(terminal-based)
Fzf launcher: Fixed bash compatibility (setopt → shopt -s)
Deps: Added coreutils, fontconfig, antiword, pandoc, util-linux, bash,
findutils, grep, sed, gawk, ncurses to various scripts
Diffstat (limited to 'modules/development/lazygit/default.nix')
| -rw-r--r-- | modules/development/lazygit/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/development/lazygit/default.nix b/modules/development/lazygit/default.nix index 8f5585e..223392a 100644 --- a/modules/development/lazygit/default.nix +++ b/modules/development/lazygit/default.nix @@ -1,11 +1,14 @@ # Lazygit - A simple terminal UI for git commands { config, lib, ... }: { + imports = [ + ./assertions.nix + ]; options.development.lazygit = { enable = lib.mkEnableOption "Enables lazygit."; }; - config = lib.mkIf config.development.lazygit.enable { - programs.lazygit = { + config = { + programs.lazygit = lib.mkIf config.development.lazygit.enable { enable = true; enableBashIntegration = config.terminal.bash.enable; enableFishIntegration = config.programs.fish.enable; |
