feat(lazygit): solve gpg problems
This commit is contained in:
parent
8c67c8c9fb
commit
44f78fc42c
2 changed files with 17 additions and 14 deletions
|
@ -96,7 +96,6 @@ in
|
|||
ripgrep
|
||||
wget
|
||||
git
|
||||
lazygit
|
||||
btop
|
||||
screen
|
||||
nix-search-cli
|
||||
|
|
|
@ -8,7 +8,8 @@
|
|||
let
|
||||
inherit (lib)
|
||||
mkEnableOption
|
||||
optionals
|
||||
mkIf
|
||||
mkMerge
|
||||
;
|
||||
zsh = import ./zsh.nix;
|
||||
config-sys = config;
|
||||
|
@ -28,18 +29,21 @@ in
|
|||
# TODO: ssh = mkEnableOption "ssh configuration";
|
||||
work-tooling = mkEnableOption "common work tools";
|
||||
};
|
||||
config = {
|
||||
config = mkMerge [
|
||||
{
|
||||
home = {
|
||||
inherit (config-sys.system) stateVersion;
|
||||
packages =
|
||||
[
|
||||
pkgs.rlwrap
|
||||
]
|
||||
++ optionals config.kat.work-tooling [
|
||||
pkgs.numbat
|
||||
packages = [ pkgs.rlwrap ];
|
||||
};
|
||||
}
|
||||
(mkIf config.kat.work-tooling {
|
||||
home.packages = [ pkgs.numbat ];
|
||||
programs.lazygit = {
|
||||
enable = true;
|
||||
settings.git.overrideGpg = true;
|
||||
};
|
||||
})
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
)
|
||||
];
|
||||
|
|
Loading…
Add table
Reference in a new issue