2021-03-04 04:20:17 +01:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
config = {
|
|
|
|
qt = {
|
|
|
|
enable = true;
|
|
|
|
platformTheme = "gnome";
|
|
|
|
style = {
|
|
|
|
name = "adwaita";
|
2021-09-26 11:08:45 +02:00
|
|
|
package = config.lib.test.mkStubPackage { };
|
2021-03-04 04:20:17 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-09-26 11:08:45 +02:00
|
|
|
test.stubs.qgnomeplatform = { };
|
2021-03-04 04:20:17 +01: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"'
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|