nixcfg/nixosModules/desktop/hyprland/default.nix
2024-05-27 21:39:30 -04:00

24 lines
460 B
Nix

{
inputs,
pkgs,
lib,
config,
...
}: {
options = {
alyraffauf.desktop.hyprland.enable =
lib.mkEnableOption "Hyprland wayland compositor.";
};
config = lib.mkIf config.alyraffauf.desktop.hyprland.enable {
alyraffauf.desktop.waylandComp.enable = lib.mkDefault true;
programs = {
hyprland = {
enable = true;
package = inputs.nixpkgsUnstable.legacyPackages."${pkgs.system}".hyprland;
};
};
};
}