Change type of stylix.image to types.path

A derivation will be converted to a path using builtins.toString,
assuming the image is its only output.
This commit is contained in:
Daniel Thwaites 2021-01-08 16:09:07 +00:00
parent 0fb9f236a3
commit 67e4bcebb3
No known key found for this signature in database
GPG key ID: D8AFC4BF05670F9D

View file

@ -12,7 +12,7 @@ with lib;
];
options.stylix.image = mkOption {
type = types.package;
type = types.coercedTo types.package toString types.path;
description = "Wallpaper image.";
};
}