{ config, lib, pkgs, ... }: let cfg = config.modules.services.uwsm; inherit (lib.modules) mkIf; inherit (lib.options) mkEnableOption; in { options.modules.services.uwsm.enable = mkEnableOption "uwsm"; config = mkIf cfg.enable { programs.uwsm = { enable = true; package = pkgs.uwsm; waylandCompositors = { hyprland = { prettyName = "Hyprland"; comment = "Hyprland managed with UWSM"; binPath = "/run/current-system/sw/bin/Hyprland"; }; }; }; }; }