marleyos/modules/nixos/wayland/hyprland/default.nix

19 lines
321 B
Nix
Raw Normal View History

2025-01-09 08:08:30 -08:00
{
lib,
config,
...
}: let
cfg = config.marleyos.wayland.hyprland;
in {
options.marleyos.wayland.hyprland.enable = lib.mkEnableOption "hyprland";
2025-01-09 08:08:30 -08:00
config = lib.mkIf cfg.enable {
2025-01-13 20:31:44 -08:00
marleyos.programs.hyprlock.enable = true;
2025-01-09 08:08:30 -08:00
programs.hyprland = {
enable = true;
withUWSM = false;
};
};
}