1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-13 10:13:39 +02:00

swaync: fix style path

This commit is contained in:
9p4 2024-05-04 19:28:16 -04:00 committed by GitHub
parent 9036fe9ef8
commit e0825ea211
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -84,7 +84,7 @@ in {
"swaync/config.json".source =
jsonFormat.generate "config.json" cfg.settings;
"swaync/style.css" = lib.mkIf (cfg.style != null) {
source = if lib.isStorePath cfg.style then
source = if builtins.isPath cfg.style || lib.isStorePath cfg.style then
cfg.style
else
pkgs.writeText "swaync/style.css" cfg.style;