Separate package list

This commit is contained in:
Yan Lin 2025-08-28 17:34:35 +02:00
parent 7e654c5ce5
commit 913d876113
3 changed files with 49 additions and 26 deletions

View file

@ -0,0 +1,33 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
# Development and build tools
texlive.combined.scheme-full
python312
uv
gnumake
# Network and file transfer
lftp
termscp
httpie
openssh
rsync
# Database and data tools
lazysql
sqlite
papis
# Command-line utilities
ncdu
git-credential-oauth
zoxide
delta
# Cross-platform applications
keepassxc # Password manager (Linux/Windows/macOS)
syncthing # File synchronization (cross-platform)
];
}

14
config/packages-macos.nix Normal file
View file

@ -0,0 +1,14 @@
{ pkgs, claude-code, ... }:
{
home.packages = with pkgs; [
# macOS-specific GUI applications
maccy # Clipboard manager (macOS-only)
appcleaner # Application uninstaller (macOS-only)
iina # Media player (macOS-optimized)
hidden-bar # Menu bar organizer (macOS-only)
# Tools
claude-code.packages.aarch64-darwin.claude-code
];
}

View file

@ -63,6 +63,8 @@
./modules/ghostty.nix ./modules/ghostty.nix
./modules/syncthing.nix ./modules/syncthing.nix
./config/fonts.nix ./config/fonts.nix
./config/packages-common.nix
./config/packages-macos.nix
]; ];
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
@ -71,32 +73,6 @@
home.homeDirectory = "/Users/yanlin"; home.homeDirectory = "/Users/yanlin";
home.stateVersion = "24.05"; home.stateVersion = "24.05";
home.packages = with pkgs; [
texlive.combined.scheme-full
python312
uv
lftp
termscp
httpie
lazysql
sqlite
openssh
papis
claude-code.packages.aarch64-darwin.claude-code
ncdu
git-credential-oauth
rsync
gnumake
zoxide
delta
maccy
appcleaner
iina
keepassxc
syncthing
hidden-bar
];
programs.home-manager.enable = true; programs.home-manager.enable = true;