nixos-config/components/gui/wayland.nix
2024-06-07 22:56:52 +02:00

13 lines
277 B
Nix

{ 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;
};
}