nixos-config/users/rouven/modules/packages.nix
2023-05-21 13:50:49 +02:00

85 lines
1.7 KiB
Nix

{ pkgs, ... }:
{
home.packages = with pkgs; [
# essentials
wpa_supplicant_gui # manage wifi
xfce.thunar
xdg-utils # used for xdg-open
snapper-gui
# graphics
evince # pdf viewer
gimp
mpv # best video player out there
ffmpeg
# sound
pavucontrol
x32edit
# bluetooth
blueman
# internet
google-chrome
# messaging
discord
tdesktop
element-desktop
gomuks # alternative matrix client
# games
# prismlauncher # minecraft, but it actually works # not anymore lol
superTuxKart
# yubikey and password stuff
yubikey-manager
yubikey-manager-qt
yubioath-flutter
bitwarden
pass
# misc
neofetch # obligatory
virt-manager
jetbrains.idea-community
powerline-fonts
croc # send files anywhere
# programming languages
cargo
rustc
rustfmt
# libs
libyubikey
libfido2
# (pkgs.texlive.combine {
# inherit (pkgs.texlive) scheme-medium;
# })
];
xdg.mimeApps = {
enable = true;
defaultApplications =
let
image-viewers = [ "imv.desktop" "gimp.desktop" "swappy.desktop" "org.qutebrowser.qutebrowser.desktop" "google-chrome.desktop" ];
browsers = [ "org.qutebrowser.qutebrowser.desktop" "google-chrome.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;
};
};
}