marleyos/modules/nixos/wayland/hyprland/default.nix
2025-01-13 20:31:44 -08:00

20 lines
351 B
Nix

{
lib,
config,
...
}: let
inherit (lib) mkEnableOption mkIf;
cfg = config.marleyos.wayland.hyprland;
in {
options.marleyos.wayland.hyprland.enable = mkEnableOption "hyprland";
config = mkIf cfg.enable {
marleyos.programs.hyprlock.enable = true;
programs.hyprland = {
enable = true;
withUWSM = false;
};
};
}