Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions modules/kde/testbeds/plasma5.nix

This file was deleted.

10 changes: 4 additions & 6 deletions modules/qt/nixos.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,16 @@ in

config =
let
inherit (config.services.xserver.desktopManager) plasma5 lxqt;
inherit (config.services.xserver.desktopManager) lxqt;
inherit (config.services.desktopManager) gnome plasma6;
in
lib.mkIf (config.stylix.enable && config.stylix.targets.qt.enable) {
stylix.targets.qt.platform =
if gnome.enable && !(plasma5.enable || plasma6.enable || lxqt.enable) then
if gnome.enable && !(plasma6.enable || lxqt.enable) then
"gnome"
else if plasma5.enable && !(gnome.enable || plasma6.enable || lxqt.enable) then
"kde"
else if plasma6.enable && !(gnome.enable || plasma5.enable || lxqt.enable) then
else if plasma6.enable && !(gnome.enable || lxqt.enable) then
"kde6"
else if lxqt.enable && !(gnome.enable || plasma5.enable || plasma6.enable) then
else if lxqt.enable && !(gnome.enable || plasma6.enable) then
"lxqt"
else
"qtct";
Expand Down