refactor into modules
This commit is contained in:
144
home-manager/modules/packages.nix
Normal file
144
home-manager/modules/packages.nix
Normal file
@@ -0,0 +1,144 @@
|
||||
{ pkgs, inputs, ... }:
|
||||
|
||||
let
|
||||
system = pkgs.stdenv.hostPlatform.system;
|
||||
in {
|
||||
home.packages = with pkgs; [
|
||||
# Window manager & desktop environment
|
||||
inputs.niri.packages.${system}.niri
|
||||
inputs.noctalia.packages.${system}.default
|
||||
inputs.quickshell.packages.${system}.default
|
||||
swayidle
|
||||
swww
|
||||
kanshi
|
||||
|
||||
# System utilities & monitoring
|
||||
btop
|
||||
htop
|
||||
fastfetch
|
||||
dua
|
||||
nh
|
||||
dconf
|
||||
gparted
|
||||
mission-center
|
||||
gnome-software
|
||||
|
||||
# CLI tools & utilities
|
||||
ripgrep
|
||||
fd
|
||||
jq
|
||||
entr
|
||||
mdcat
|
||||
sshpass
|
||||
exiftool
|
||||
|
||||
# File managers & compression tools
|
||||
yazi
|
||||
nautilus
|
||||
file-roller
|
||||
p7zip
|
||||
unzip
|
||||
zip
|
||||
unrar
|
||||
|
||||
# Media viewers & players
|
||||
loupe
|
||||
evince
|
||||
vlc
|
||||
mpv
|
||||
zathura
|
||||
|
||||
# SDR
|
||||
gqrx
|
||||
gnuradio
|
||||
gnuradioPackages.lora_sdr
|
||||
|
||||
# Media creation & editing
|
||||
gimp
|
||||
blender
|
||||
ffmpeg
|
||||
yt-dlp
|
||||
waifu2x-converter-cpp
|
||||
libheif
|
||||
upscayl
|
||||
inkscape
|
||||
|
||||
# Office & productivity
|
||||
libreoffice-fresh
|
||||
gnome-text-editor
|
||||
gnome-calculator
|
||||
obsidian
|
||||
simple-scan
|
||||
system-config-printer
|
||||
|
||||
# Development tools
|
||||
neovim
|
||||
vscode.fhs
|
||||
lazygit
|
||||
cargo-cross
|
||||
cargo-generate
|
||||
probe-rs-tools
|
||||
elf2uf2-rs
|
||||
dbeaver-bin
|
||||
gnome-boxes
|
||||
cutecom
|
||||
inputs.binaryninja.packages.${system}.binary-ninja-free-wayland
|
||||
helix
|
||||
|
||||
# AI development tools
|
||||
inputs.claude-code-nix.packages.${system}.default
|
||||
inputs.codex-cli-nix.packages.${system}.default
|
||||
gemini-cli
|
||||
|
||||
# Internet & networking
|
||||
firefox-bin
|
||||
filezilla
|
||||
qbittorrent
|
||||
tor-browser
|
||||
nmap
|
||||
gnome-network-displays
|
||||
|
||||
# Privacy & security
|
||||
gnupg
|
||||
pinentry-qt
|
||||
kdePackages.kleopatra
|
||||
monero-gui
|
||||
|
||||
# Python & AI
|
||||
python314
|
||||
openai-whisper
|
||||
|
||||
# Document processing
|
||||
tectonic
|
||||
mermaid-cli
|
||||
|
||||
# Astronomy
|
||||
stellarium
|
||||
kstars
|
||||
|
||||
# Wrap PrismLauncher to fix Minecraft GLFW Wayland issues
|
||||
(pkgs.symlinkJoin {
|
||||
name = "prismlauncher";
|
||||
paths = [ pkgs.prismlauncher ];
|
||||
buildInputs = [ pkgs.makeWrapper ];
|
||||
postBuild = ''
|
||||
wrapProgram $out/bin/prismlauncher \
|
||||
--set SDL_VIDEODRIVER "x11"
|
||||
'';
|
||||
})
|
||||
|
||||
# Wrap Krita to work with XWayland (Krita doesn't support native Wayland)
|
||||
(pkgs.symlinkJoin {
|
||||
name = "krita";
|
||||
paths = [ pkgs.krita ];
|
||||
buildInputs = [ pkgs.makeWrapper ];
|
||||
postBuild = ''
|
||||
wrapProgram $out/bin/krita \
|
||||
--set DISPLAY ":0" \
|
||||
--set QT_AUTO_SCREEN_SCALE_FACTOR "0" \
|
||||
--set QT_SCALE_FACTOR "2" \
|
||||
--set QT_FONT_DPI "96"
|
||||
'';
|
||||
})
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user