Prevent hyprpaper.conf dependence on disabled hypr
When hyprland was disabled, we didn't create the hyprpaper configuration
but we still relied on it
This is because
{ x.y = lib.mkIf false "foo"; }
is roughly equivalent to
{ x = {}; }
rather than
{ }
To fix it, we need to do something more like
{ x = lib.mkIf false { y = "foo"; }; }
So let's do that :)
Change-Id: I5422990bc1c7fce17291b26ae5fa3a0ef022b2d7
Reviewed-on: https://git.clicks.codes/c/Chimera/NixFiles/+/515
Reviewed-by: Samuel Shuert <coded@clicks.codes>
Tested-by: Skyler Grey <minion@clicks.codes>
1 file changed