Add customization support to hm packages

This commit is contained in:
Tyler Beckman 2024-12-11 20:43:50 -07:00
parent 6d0e03dbcf
commit 05ef5cc9de
Signed by: Ty
GPG key ID: 2813440C772555A4

View file

@ -1,6 +1,26 @@
{ pkgs, inputs, system, ty-home-manager-options, ... }:
{ pkgs, inputs, system, lib, ty-home-manager-options, ... }:
{
home.packages = (with pkgs; [
# :3
fastfetch # Modern & faster neofetch alternative
# CLI Tools
ripgrep # Text searching and manipulation
jq # JSON filtering
eza # Directory lister
bat # File reading
doggo # DNS Requests
nmap # Network scanning
glow # Markdown rendering
tealdeer # TLDR
usbutils # `lsusb`
pciutils # `lspci`
unzip # Extract zip files
# Process tools
btop # Process monitor
nvtopPackages.full # GPU monitor
]) ++ (lib.mkIf ty-home-manager-options.plasma.enable (with pkgs; [
# Documents
logseq # Outliner
libreoffice-qt6-fresh # Office-style editing
@ -29,35 +49,15 @@
deno # Typescript & Javascript runtime
gnumake # Makefile support
# :3
fastfetch # Modern & faster neofetch alternative
# UI Tools
qalculate-qt # Calculator
# CLI Tools
ripgrep # Text searching and manipulation
jq # JSON filtering
eza # Directory lister
bat # File reading
doggo # DNS Requests
nmap # Network scanning
glow # Markdown rendering
tealdeer # TLDR
usbutils # `lsusb`
pciutils # `lspci`
unzip # Extract zip files
# Process tools
btop # Process monitor
nvtopPackages.full # GPU monitor
]) ++ [
])) ++ (lib.mkIf ty-home-manager-options.firefox.enable [
# Firefox nightly
inputs.firefox-nightly.packages.${system}.firefox-nightly-bin
] ++ (with pkgs.kdePackages; [
]) ++ (lib.mkIf ty-home-manager-options.plasma.enable (with pkgs.kdePackages; [
kate # IDE
elisa # Music
kdeconnect-kde # Phone sync
polkit-kde-agent-1 # Polkit authentication popup support
]);
]));
}