qt: fix platform theme package install

This commit is contained in:
JulianFP 2024-04-20 15:29:07 +02:00 committed by Robert Helgesson
parent 4cec20dbf5
commit 147b5a5e1c
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED

View file

@ -258,7 +258,7 @@ in {
# Apply theming also to apps started by systemd. # Apply theming also to apps started by systemd.
systemd.user.sessionVariables = envVars // envVarsExtra; systemd.user.sessionVariables = envVars // envVarsExtra;
home.packages = (lib.findFirst (x: x != null) [ ] [ home.packages = (lib.findFirst (x: x != [ ]) [ ] [
(lib.optionals (platformTheme.package != null) (lib.optionals (platformTheme.package != null)
(lib.toList platformTheme.package)) (lib.toList platformTheme.package))
(lib.optionals (platformTheme.name != null) (lib.optionals (platformTheme.name != null)