nixos-config/users/rouven/modules/packages.nix
2023-10-28 15:51:25 +02:00

123 lines
2.4 KiB
Nix

{ pkgs, ... }:
let
tex = (pkgs.texlive.combine {
inherit (pkgs.texlive) scheme-small
dvisvgm dvipng# for preview and export as html
wrapfig amsmath ulem hyperref capt-of;
# (setq org-latex-compiler "lualatex")
#(setq org-preview-latex-default-process 'dvisvgm)
});
in
{
home.packages = with pkgs; [
# essentials
wpa_supplicant_gui
pcmanfm
xdg-utils # used for xdg-open
tex
appimage-run
seafile-client
# graphics
evince # pdf viewer
gimp
krita
ffmpeg
drawio
leafpad
gamescope
# sound
pavucontrol
x32edit
spotify
# bluetooth
blueman
# internet
google-chrome
filezilla
dbeaver
apache-directory-studio
# messaging
discord
tdesktop
element-desktop
gomuks # alternative matrix client
mattermost-desktop
# games
# dwarf-fortress-packages.dwarf-fortress-full
prismlauncher # minecraft, but it actually works # not anymore lol
superTuxKart
# yubikey and password stuff
yubikey-manager
yubikey-manager-qt
yubioath-flutter
bitwarden
pass
# misc
btop
neofetch # obligatory
virt-manager
jetbrains.idea-ultimate #😎
powerline-fonts
croc # send files anywhere
bacula
hcloud
jq
xournalpp
libreoffice
# programming languages
cargo
rustc
rustfmt
clippy
gcc
nodejs_20
gnumake
plantuml
# libs
libyubikey
libfido2
python311Packages.pyhanko
];
services.kdeconnect = {
enable = true;
indicator = true;
};
programs.obs-studio.enable = true;
programs.firefox.enable = true;
xdg.mimeApps = {
enable = true;
defaultApplications =
let
image-viewers = [ "imv.desktop" "gimp.desktop" "swappy.desktop" "org.qutebrowser.qutebrowser.desktop" "google-chrome.desktop" ];
browsers = [ "google-chrome.desktop" "firefox.desktop" "org.qutebrowser.qutebrowser.desktop" ];
in
{
"application/pdf" = [ "org.gnome.Evince.desktop" ];
"image/png" = image-viewers;
"image/jpg" = image-viewers;
"image/jpeg" = image-viewers;
"image/tiff" = image-viewers;
"image/gif" = image-viewers;
"image/webp" = image-viewers;
"image/ico" = image-viewers;
"x-scheme-handler/http" = browsers;
"x-scheme-handler/https" = browsers;
};
};
}