From fe9e25edd1d1d4118f9ff0614b764b18313428d7 Mon Sep 17 00:00:00 2001 From: Tyler Kelley Date: Tue, 16 Jan 2024 14:07:33 -0600 Subject: [PATCH] Change QT theme location --- home.nix | 10 ++-------- workstation/configuration.nix | 11 ++++++++++- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/home.nix b/home.nix index 9a19fc5..1fecfdb 100644 --- a/home.nix +++ b/home.nix @@ -54,14 +54,14 @@ # Install Packages For The User home.packages = with pkgs; [ - neofetch lolcat cmatrix discord firefox btop libvirt + neofetch lolcat cmatrix discord firefox htop btop libvirt swww polkit_gnome grim slurp lm_sensors unzip unrar gnome.file-roller libnotify swaynotificationcenter rofi-wayland imv v4l-utils ydotool wl-clipboard socat cowsay lsd pkg-config transmission-gtk mpv gimp obs-studio blender kdenlive meson hugo gnumake ninja go nodejs godot_4 rustup pavucontrol audacity zeroad xonotic openra font-awesome symbola noto-fonts-color-emoji material-icons - spotify swaylock-effects swayidle + spotify brightnessctl swayidle # Import Scripts (import ./config/scripts/emopicker9000.nix { inherit pkgs; }) (import ./config/scripts/task-waybar.nix { inherit pkgs; }) @@ -78,12 +78,6 @@ size = 24; }; - # Enable & Configure QT - qt.enable = true; - qt.platformTheme = "gtk"; - qt.style.name = "adwaita-dark"; - qt.style.package = pkgs.adwaita-qt; - # Theme GTK gtk = { enable = true; diff --git a/workstation/configuration.nix b/workstation/configuration.nix index daf7044..860942f 100644 --- a/workstation/configuration.nix +++ b/workstation/configuration.nix @@ -56,7 +56,7 @@ # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ - vim wget curl + vim wget curl libsForQt5.qtstyleplugin-kvantum libsForQt5.qt5ct ]; fonts.packages = with pkgs; [ @@ -77,6 +77,15 @@ driSupport32Bit = true; }; + nixpkgs.config.qt5 = { + enable = true; + platformTheme = "qt5ct"; + style = { + package = pkgs.utterly-nord-plasma; + name = "Utterly Nord Plasma"; + }; + }; + programs.hyprland = { enable = true; package = inputs.hyprland.packages.${pkgs.system}.hyprland;