{ config, lib, pkgs, inputs, ... }: let fuzzel-command = config.nathan.config.desktop.fuzzel-command; hyprland = config.nathan.programs.hyprland.enable; targets = config.nathan.config.desktop.targets; shortcuts = inputs.self.packages.${pkgs.system}.shortcuts; in lib.mkMerge [ # Hyprland specific configuration (lib.mkIf hyprland { }) # General configuration (lib.mkIf hyprland { home.packages = with pkgs; [ # General killall # Display management wdisplays # glib for sound stuff glib # For private browsing tor-browser-bundle-bin # For non-emacs pdf reading evince # Productivity libreoffice-fresh font-awesome # for image viewing inputs.self.packages.${pkgs.system}.swayimg # For fancy x11 scaling sommelier # Themes gtk-engine-murrine libsForQt5.qtstyleplugin-kvantum pkgs.libsForQt5.qt5ct materia-theme materia-kde-theme # Weylus for using the tablet weylus ]; # Bluetooth applet services.blueman-applet.enable = true; ######################### ## EasyEffects ######################### services.easyeffects.enable = true; ######################### ## Default applications ######################### xdg.mimeApps.defaultApplications = { # Make all supported images open in swayimg "image/jpeg" = [ "swayimg.desktop" ]; "image/png" = [ "swayimg.desktop" ]; "image/gif" = [ "swayimg.desktop" ]; "image/svg+xml" = [ "swayimg.desktop" ]; "image/webp" = [ "swayimg.desktop" ]; "image/avif" = [ "swayimg.desktop" ]; "image/tiff" = [ "swayimg.desktop" ]; "image/bmp" = [ "swayimg.desktop" ]; "application/pdf" = [ "org.gnome.Evince.desktop" ]; "text/html" = [ "firefox.desktop" ]; }; # Theme gtk gtk = { enable = true; font.name = "Iosevka Sans Quasi"; theme = { name = "Materia-dark"; package = pkgs.materia-theme; }; }; # theme qt home.sessionVariables = { QT_QPA_PLATFORMTHEME = "qtct"; QT_STYLE_OVERRIDE = "kvantum"; }; }) ]