fork/home-manager

git clone https://git.julia.blue/fork/home-manager

Naïm Favierqt: auto-detect style package from name (#3692)72ce74d3

master
429 B20 linesraw
1{ config, lib, pkgs, ... }:
2
3{
4  config = {
5    qt = {
6      enable = true;
7      platformTheme = "gnome";
8      style.name = "adwaita";
9    };
10
11    test.stubs.qgnomeplatform = { };
12
13    nmt.script = ''
14      assertFileRegex home-path/etc/profile.d/hm-session-vars.sh \
15        'QT_QPA_PLATFORMTHEME="gnome"'
16      assertFileRegex home-path/etc/profile.d/hm-session-vars.sh \
17        'QT_STYLE_OVERRIDE="adwaita"'
18    '';
19  };
20}