nix-conf/modules/nixos/hyprland/default.nix
2024-04-11 11:38:00 +05:30

15 lines
245 B
Nix

{
config,
lib,
...
}: {
options = {
hyprland.enable = lib.mkEnableOption "enable hyprland";
};
config = lib.mkIf config.hyprland.enable {
programs.hyprland = {
enable = true;
xwayland.enable = true;
};
};
}