diff --git a/modules/gui/qt.nix b/modules/gui/qt.nix index f632460a..2bf709bd 100644 --- a/modules/gui/qt.nix +++ b/modules/gui/qt.nix @@ -28,6 +28,10 @@ in { }; config = mkIf cfg.enable { + environment.sessionVariables = { + QT_QPA_PLATFORMTHEME = "qt5ct"; + }; + home-manager.users.${config'.username} = { # thanks raf :3 https://github.com/NotAShelf/nyx/blob/main/homes/notashelf/themes/qt.nix qt = { @@ -57,7 +61,6 @@ in { QT_QPA_PLATFORM = "wayland;xcb"; QT_WAYLAND_DISABLE_WINDOWDECORATION = "1"; DISABLE_QT_COMPAT = "0"; - QT_QPA_PLATFORMTHEME = "qt5ct"; }; };