trimmed a lot of fat that had been accruing in my system and user package lists

This commit is contained in:
pagedmov
2024-11-04 01:37:49 -05:00
parent e4369939f4
commit 6ccc57f95e
3 changed files with 9 additions and 64 deletions

View File

@@ -1,5 +1,6 @@
{lib, config, pkgs, host, ... }: let {lib, config, pkgs, ... }:
desktop = host == "oganesson";
let
extraFigletFonts = pkgs.fetchFromGitHub { extraFigletFonts = pkgs.fetchFromGitHub {
owner = "xero"; owner = "xero";
repo = "figlet-fonts"; repo = "figlet-fonts";
@@ -15,39 +16,21 @@
cp -r ${extraFigletFonts}/* $out/share/figlet cp -r ${extraFigletFonts}/* $out/share/figlet
''; '';
}); });
in
desktop_pkgs = {
if desktop
then
with pkgs; [
uhk-agent
zathura
handbrake
snes9x-gtk
obs-studio
]
else [];
in {
options = { options = {
userPkgs.enable = lib.mkEnableOption "enables my default user packages"; userPkgs.enable = lib.mkEnableOption "enables my default user packages";
}; };
config = lib.mkIf config.userPkgs.enable { config = lib.mkIf config.userPkgs.enable {
home.packages = with pkgs; home.packages = with pkgs;
[ [
chafa
nemo nemo
flavours
nicotine-plus
ags
sassc
gtk3 gtk3
sqlite sqlite
gimp gimp
imagemagick imagemagick
yt-dlp
vlc vlc
lolcat lolcat
speedtest-cli
vesktop vesktop
qbittorrent qbittorrent
neovide neovide
@@ -62,7 +45,6 @@ in {
ripgrep ripgrep
toilet-extrafonts toilet-extrafonts
python3 python3
] ];
++ desktop_pkgs;
}; };
} }

View File

@@ -17,6 +17,7 @@ in
stylix = { stylix = {
enable = true; enable = true;
base16Scheme = "${pkgs.base16-schemes}/share/themes/${scheme}.yaml"; base16Scheme = "${pkgs.base16-schemes}/share/themes/${scheme}.yaml";
override.base00 = "030303";
image = "${self}/assets/wallpapers/sleeping-blackmetal.png"; image = "${self}/assets/wallpapers/sleeping-blackmetal.png";
homeManagerIntegration = { homeManagerIntegration = {
autoImport = true; autoImport = true;

View File

@@ -4,39 +4,19 @@
}; };
config = lib.mkIf config.sysPkgs.enable { config = lib.mkIf config.sysPkgs.enable {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
alejandra
alsa-lib alsa-lib
alsa-utils alsa-utils
bc bc
cava
cabal-install
clang
clang-tools
cliphist cliphist
cmake
fail2ban fail2ban
feh
ffmpeg-full
fuse
git git
gnumake
gst_all_1.gstreamer
htop
hyprland-workspaces hyprland-workspaces
hyprpicker hyprpicker
imagemagick
inetutils inetutils
kitty kitty
libclang
libcxx
lolcat lolcat
lsof lsof
lua-language-server
luarocks
mesa
mpd mpd
mullvad
mesa
neofetch neofetch
nh nh
nix-index nix-index
@@ -45,36 +25,18 @@
nixos-option nixos-option
nix-search-cli nix-search-cli
nix-template nix-template
mkdocs
python3Packages.mkdocs-material
sshfs sshfs
nvd nvd
openssl
p7zip
jq
pamixer pamixer
parted
pavucontrol pavucontrol
pkg-config
playerctl playerctl
protonmail-bridge
protontricks
pyright
socat
sox
stress
tor tor
tree
unrar
unzip
usbutils usbutils
vim vim
vscode-langservers-extracted
vulkan-loader
wget
wine wine
uhk-agent
obs-studio
wl-clipboard wl-clipboard
xpad
libnotify libnotify
file file
libvirt-glib libvirt-glib