lazygit config
This commit is contained in:
parent
60ccf1a5fc
commit
e798c797b5
4 changed files with 25 additions and 1 deletions
|
@ -12,6 +12,7 @@
|
|||
./rose-pine-cursor.nix
|
||||
./projects.nix
|
||||
./easyeffects.nix
|
||||
./lazygit.nix
|
||||
];
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
|
22
home/modules/lazygit.nix
Normal file
22
home/modules/lazygit.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ lib, config, ... }:
|
||||
|
||||
let
|
||||
cfg = config.snowhawk.lazygit;
|
||||
in
|
||||
{
|
||||
options.snowhawk.lazygit = {
|
||||
enable = lib.mkEnableOption "lazygit";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.lazygit = {
|
||||
enable = true;
|
||||
settings = {
|
||||
services = {
|
||||
"git.zynh.me" = "gitea:git.zynh.me";
|
||||
"git.nullcube.net" = "gitea:git.nullcube.net";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -44,7 +44,6 @@
|
|||
extraGroups = [ "networkmanager" "wheel" "audio" ];
|
||||
packages = with pkgs; [
|
||||
ripgrep
|
||||
lazygit
|
||||
unzip
|
||||
fzf
|
||||
tree
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
snowhawk.alacritty.enable = true;
|
||||
snowhawk.cursor.enable = true;
|
||||
snowhawk.projects.enable = true;
|
||||
snowhawk.lazygit.enable = true;
|
||||
|
||||
xsession.numlock.enable = true;
|
||||
|
||||
|
@ -65,3 +66,4 @@
|
|||
programs.home-manager.enable = true;
|
||||
home.stateVersion = "23.11";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue