Added lazygit and nixvim to configuration
This commit is contained in:
parent
12a413225a
commit
8279a2b786
6 changed files with 19 additions and 3 deletions
6
.gitmodules
vendored
6
.gitmodules
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
./bat.nix
|
||||
./git.nix
|
||||
./kitty.nix
|
||||
./lazygit.nix
|
||||
./leetcode.nix
|
||||
./metrics.nix
|
||||
./ssh.nix
|
||||
|
|
|
|||
15
home/programs/terminal/lazygit.nix
Normal file
15
home/programs/terminal/lazygit.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue