Fix where we use hasAttr so that it actually works ;)

This commit is contained in:
Daniel Flanagan 2024-07-31 10:26:13 -05:00
parent 594078f84f
commit 12e6f87d1b

View file

@ -438,7 +438,7 @@
xdg.portal.enable = true; xdg.portal.enable = true;
hardware = hardware =
if builtins.hasAttr "enable" options.hardware.graphics if builtins.hasAttr "graphics" options.hardware
then { then {
graphics = { graphics = {
enable = true; enable = true;