nix-config/modules/cli-tools/default.nix

72 lines
1.4 KiB
Nix

{ inputs, ... }:
let
commonPackages =
pkgs: with pkgs; [
neofetch
zip
unzip
ripgrep
fzf
fd
sd
bat
tldr
fortune
just
mmv-go
usbutils
opencode
lazygit
wget
btop
];
in
{
flake.modules.nixos.cli-tools =
{ pkgs, ... }:
{
environment.systemPackages = commonPackages pkgs;
home-manager.sharedModules = [
inputs.self.modules.homeManager.git
];
};
flake.modules.darwin.cli-tools =
{ pkgs, ... }:
{
environment.systemPackages = commonPackages pkgs;
home-manager.sharedModules = [
inputs.self.modules.homeManager.git
];
};
flake.modules.homeManager.cli-tools =
{ pkgs, ... }:
{
programs.lazygit = {
enable = true;
settings = {
gui = {
nerdFontsVersion = "3";
theme = {
lightTheme = false;
activeBorderColor = [
"magenta"
"bold"
];
searchingActiveBorderColor = [
"cyan"
"bold"
];
inactiveBorderColor = [ "#807c9f" ];
optionsTextColor = [ "#807c9f" ];
selectedLineBgColor = [ "#331531" ];
inactiveViewSelectedLineBgColor = [ "#1d202f" ];
};
};
};
};
};
}