mirror of
https://github.com/nix-community/home-manager
synced 2024-11-18 00:59:44 +01:00
72ce74d3ea
* qt: auto-detect style package from name * qt: test package auto-detection
20 lines
429 B
Nix
20 lines
429 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
config = {
|
|
qt = {
|
|
enable = true;
|
|
platformTheme = "gnome";
|
|
style.name = "adwaita";
|
|
};
|
|
|
|
test.stubs.qgnomeplatform = { };
|
|
|
|
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"'
|
|
'';
|
|
};
|
|
}
|