fix(home-manager): assert qt.platformTheme.name
for kvantum (#244)
* fix(home-manager): assert `qt.platformTheme.name` for kvantum * fix(home-manager): account for qt.platformTheme being null Co-authored-by: seth <getchoo@tuta.io> * chore(modules): set `qt.platformTheme.name` in tests --------- Co-authored-by: seth <getchoo@tuta.io>
This commit is contained in:
parent
51bd4ccfcf
commit
e02aca950f
2 changed files with 5 additions and 0 deletions
|
@ -39,6 +39,10 @@ in
|
|||
];
|
||||
message = ''`qt.style.name` must be `"kvantum"` to use `qt.style.catppuccin`'';
|
||||
}
|
||||
{
|
||||
assertion = lib.elem (config.qt.platformTheme.name or null) [ "kvantum" ];
|
||||
message = ''`qt.platformTheme.name` must be set to `"kvantum"` to use `qt.style.catppuccin`'';
|
||||
}
|
||||
];
|
||||
|
||||
xdg.configFile = {
|
||||
|
|
1
test.nix
1
test.nix
|
@ -121,6 +121,7 @@ testers.runNixOSTest {
|
|||
};
|
||||
|
||||
qt = enable // {
|
||||
platformTheme.name = "kvantum";
|
||||
style.name = "kvantum";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue