mirror of
https://github.com/nix-community/home-manager
synced 2024-12-27 20:29:47 +01:00
swaync: fix style path
This commit is contained in:
parent
9036fe9ef8
commit
e0825ea211
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue