{ inputs, ... }: let commonPackages = pkgs: with pkgs; [ neofetch zip unzip ripgrep fzf fd sd bat tldr fortune just mmv-go usbutils opencode lazygit wget btop rsync ]; 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" ]; }; }; }; }; }; }