Added lazygit and nixvim to configuration

This commit is contained in:
Ceferino Patino 2024-09-16 22:12:55 -05:00
commit 8279a2b786
Signed by: c4patino
SSH key fingerprint: SHA256:Wu+cU1t+7zVT9wzew/4meNmeulo66NzMqc22MdDBgXI
6 changed files with 19 additions and 3 deletions

6
.gitmodules vendored
View file

@ -1,9 +1,9 @@
[submodule "neovim"]
path = neovim
path = inputs/neovim
url = git@github.com:C4theBomb/neovim.git
[submodule "dotfiles"]
path = dotfiles
path = inputs/dotfiles
url = git@github.com:C4theBomb/dotfiles.git
[submodule "nixvim"]
path = nixvim
path = inputs/nixvim
url = git@github.com:C4theBomb/nixvim

View file

@ -3,6 +3,7 @@
./bat.nix
./git.nix
./kitty.nix
./lazygit.nix
./leetcode.nix
./metrics.nix
./ssh.nix

View file

@ -0,0 +1,15 @@
{ pkgs, lib, config, ... }: {
options = {
lazygit.enable = lib.mkOption {
type = lib.types.bool;
default = true;
description = "Enable lazygit";
};
};
config = lib.mkIf config.lazygit.enable {
programs.lazygit = {
enable = true;
};
};
}