home-manager/tests/modules/misc/qt/qt-platform-theme-gtk3.nix

18 lines
416 B
Nix
Raw Normal View History

2023-11-20 20:33:29 +00:00
{
config = {
qt = {
enable = true;
platformTheme.name = "gtk3";
2023-11-20 20:33:29 +00:00
};
nmt.script = ''
assertFileRegex home-path/etc/profile.d/hm-session-vars.sh \
'QT_QPA_PLATFORMTHEME="gtk3"'
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'
'';
};
}