sisyphus/nixos/modules/desktop/hyprland/default.nix

16 lines
276 B
Nix
Raw Normal View History

2024-03-04 16:46:30 +01:00
{ config, lib, ... }:
let
cfg = config.sisyphus.desktop.hyprland;
in {
options.sisyphus.desktop.hyprland.enable = lib.mkEnableOption "Hyprland";
config = lib.mkIf cfg.enable {
programs.hyprland = {
enable = true;
xwayland.enable = true;
};
};
}