{ config, pkgs, lib, ... }: with lib; { options.components.gui.wayland.enable = mkOption { type = lib.types.bool; default = ! config.components.gui.xorg.enable; }; config = mkIf config.components.gui.wayland.enable { programs.hyprland.enable = true; }; }