1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-03 16:39:46 +01: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)