Refactor package management into modular Nix configuration
This commit is contained in:
22
modules/core/packages/clients.nix
Normal file
22
modules/core/packages/clients.nix
Normal 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
|
||||
];
|
||||
}
|
||||
14
modules/core/packages/default.nix
Normal file
14
modules/core/packages/default.nix
Normal 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
|
||||
];
|
||||
}
|
||||
13
modules/core/packages/development.nix
Normal file
13
modules/core/packages/development.nix
Normal 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
|
||||
];
|
||||
}
|
||||
17
modules/core/packages/gaming.nix
Normal file
17
modules/core/packages/gaming.nix
Normal 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
|
||||
];
|
||||
}
|
||||
21
modules/core/packages/multimedia.nix
Normal file
21
modules/core/packages/multimedia.nix
Normal 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
|
||||
];
|
||||
}
|
||||
22
modules/core/packages/programs.nix
Normal file
22
modules/core/packages/programs.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
||||
11
modules/core/packages/terminal.nix
Normal file
11
modules/core/packages/terminal.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
cmatrix
|
||||
cowsay
|
||||
sl
|
||||
fortune
|
||||
lolcat
|
||||
eza
|
||||
];
|
||||
}
|
||||
46
modules/core/packages/tools.nix
Normal file
46
modules/core/packages/tools.nix
Normal 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
|
||||
];
|
||||
}
|
||||
10
modules/core/packages/virtualization.nix
Normal file
10
modules/core/packages/virtualization.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
virt-viewer
|
||||
lazydocker
|
||||
docker-client
|
||||
docker-compose
|
||||
distrobox
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user