nixcfg/nixosModules/desktop/hyprland/default.nix

23 lines
400 B
Nix

{
config,
lib,
pkgs,
...
}: {
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 = pkgs.hyprland;
};
};
};
}