1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-01 04:23:34 +02:00

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.
systemd.user.sessionVariables = envVars // envVarsExtra;
home.packages = (lib.findFirst (x: x != null) [ ] [
home.packages = (lib.findFirst (x: x != [ ]) [ ] [
(lib.optionals (platformTheme.package != null)
(lib.toList platformTheme.package))
(lib.optionals (platformTheme.name != null)