2021-03-04 03:20:17 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
config = {
|
|
|
|
qt = {
|
|
|
|
enable = true;
|
|
|
|
platformTheme = "gnome";
|
2023-02-20 11:30:29 +00:00
|
|
|
style.name = "adwaita";
|
2021-03-04 03:20:17 +00:00
|
|
|
};
|
|
|
|
|
2021-09-26 09:08:45 +00:00
|
|
|
test.stubs.qgnomeplatform = { };
|
2021-03-04 03:20:17 +00:00
|
|
|
|
|
|
|
nmt.script = ''
|
|
|
|
assertFileRegex home-path/etc/profile.d/hm-session-vars.sh \
|
|
|
|
'QT_QPA_PLATFORMTHEME="gnome"'
|
|
|
|
assertFileRegex home-path/etc/profile.d/hm-session-vars.sh \
|
|
|
|
'QT_STYLE_OVERRIDE="adwaita"'
|
2023-10-18 11:54:36 +00:00
|
|
|
assertFileRegex home-path/etc/profile.d/hm-session-vars.sh \
|
|
|
|
'QT_PLUGIN_PATH'
|
|
|
|
assertFileRegex home-path/etc/profile.d/hm-session-vars.sh \
|
|
|
|
'QML2_IMPORT_PATH'
|
2021-03-04 03:20:17 +00:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|