From 2fa96586d1eb1569cc3b7fb1a205dba97c593714 Mon Sep 17 00:00:00 2001 From: joy Date: Tue, 16 Jul 2024 11:59:12 +0200 Subject: [PATCH] qt --- home/gtk/default.nix | 3 +++ home/hyprland/default.nix | 3 ++- home/misc/default.nix | 15 +++++++++------ modules/packages/default.nix | 7 ++----- 4 files changed, 16 insertions(+), 12 deletions(-) diff --git a/home/gtk/default.nix b/home/gtk/default.nix index ef89184..09e5c69 100644 --- a/home/gtk/default.nix +++ b/home/gtk/default.nix @@ -8,6 +8,9 @@ in ".local/share/icons/GruvboxPlus".source = "${gruvboxPlus}"; }; + qt.enable = true; + qt.style.name = "adwaita-dark"; + gtk.enable = true; gtk.iconTheme.package = gruvboxPlus; gtk.iconTheme.name = "GruvboxPlus"; diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index 0a3d230..c13b058 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -5,7 +5,6 @@ swww wl-clipboard cliphist - lxqt.lxqt-policykit grim slurp hyprpicker @@ -32,6 +31,8 @@ env = [ "HYPRCURSOR_THEME = Bibata-Modern-Ice" "HYPRCURSOR_SIZE = 24" + "QT_QPA_PLATFORMTHEME,gtk2" + "QT_STYLE_OVERRIDE,gtk2" ]; exec-once = [ diff --git a/home/misc/default.nix b/home/misc/default.nix index e446d38..9fc035f 100644 --- a/home/misc/default.nix +++ b/home/misc/default.nix @@ -2,13 +2,16 @@ { ... }: { -home.username = "joy"; - home.homeDirectory = "/home/joy"; - home.stateVersion = "23.11"; + home = { + username = "joy"; + homeDirectory = "/home/joy"; + stateVersion = "23.11"; + sessionVariables = { + EDITOR = "nvim"; + }; + }; + programs.home-manager.enable = true; - home.sessionVariables = { - EDITOR = "nvim"; -}; xdg.mimeApps.defaultApplications = { "text/plain" = ["neovide.desktop"]; diff --git a/modules/packages/default.nix b/modules/packages/default.nix index 91eb740..88f0868 100644 --- a/modules/packages/default.nix +++ b/modules/packages/default.nix @@ -35,9 +35,7 @@ cmus obs-studio #gui stuff - ark vesktop - keepassxc signal-desktop upscayl cinnamon.nemo @@ -50,10 +48,7 @@ gnome-disk-utility gnome-secrets #random shit - brightnessctl - gnat14 htop - libgccjit zulu17 screen tree @@ -67,5 +62,7 @@ distrobox vim font-awesome + #laptop + brightnessctl ]; }