Refactor package management into modular Nix configuration

This commit is contained in:
2025-09-25 18:25:01 +02:00
parent 244567f465
commit 781cb53032
14 changed files with 181 additions and 118 deletions

View File

@@ -0,0 +1,22 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
# Communication
discord
slack
mattermost-desktop
# Productivity & Office
bitwarden-desktop
tutanota-desktop
anki-bin
onlyoffice-bin
# Cloud
nextcloud-client
# Browsers
ungoogled-chromium
# Utilities
galculator
gedit
eddie
];
}

View File

@@ -0,0 +1,14 @@
{ ... }:
{
nixpkgs.config.allowUnfree = true;
imports = [
./programs.nix
./clients.nix
./development.nix
./gaming.nix
./multimedia.nix
./terminal.nix
./tools.nix
./virtualization.nix
];
}

View File

@@ -0,0 +1,13 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
# Language servers & formatters
nixd
nil
nixfmt-rfc-style
# Editors & IDEs
zed-editor
# Learning & practice
exercism
];
}

View File

@@ -0,0 +1,17 @@
{
pkgs,
inputs,
system,
...
}:
{
environment.systemPackages = with pkgs; [
# Gaming platforms
lutris
wineWowPackages.waylandFull
inputs.prismlauncher-cracked.packages.${system}.default
# Games
space-cadet-pinball
tty-solitaire
];
}

View File

@@ -0,0 +1,21 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
# Video & image processing
ffmpeg
ffmpegthumbnailer
mpv
gimp3
eog
kdePackages.kdenlive
# Audio
rhythmbox
plexamp
picard
pavucontrol
playerctl
# Media downloaders & clients
freetube
ytmdl
];
}

View File

@@ -0,0 +1,22 @@
{
...
}:
{
programs = {
nano.enable = true;
hyprland = {
enable = true;
withUWSM = false;
};
dconf.enable = true;
seahorse.enable = true;
fuse.userAllowOther = true;
mtr.enable = true;
adb.enable = true;
hyprlock.enable = true;
gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
};
}

View File

@@ -0,0 +1,11 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
cmatrix
cowsay
sl
fortune
lolcat
eza
];
}

View File

@@ -0,0 +1,46 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
# File management
trash-cli
file-roller
unrar
unzip
# System monitoring & info
inxi
lm_sensors
lshw
pciutils
usbutils
glxinfo
nix-output-monitor
nvd
onefetch
# Disk utilities
duf
dysk
ncdu
# Network & system utilities
ripgrep
wget
socat
ookla-speedtest
brightnessctl
killall
dex
# Desktop environment
networkmanagerapplet
tuigreet
nwg-displays
waypaper
uwsm
hyprpicker
cliphist
# Development utilities
pkg-config
appimage-run
libnotify
v4l-utils
kronometer
];
}

View File

@@ -0,0 +1,10 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
virt-viewer
lazydocker
docker-client
docker-compose
distrobox
];
}