nixcfg/nixosModules/desktop/hyprland/default.nix

24 lines
445 B
Nix
Raw Normal View History

2024-04-07 22:16:33 -04:00
{
inputs,
pkgs,
lib,
config,
...
}: {
options = {
alyraffauf.desktop.hyprland.enable =
lib.mkEnableOption "Hyprland wayland compositor.";
};
config = lib.mkIf config.alyraffauf.desktop.hyprland.enable {
2024-05-27 21:39:30 -04:00
alyraffauf.desktop.waylandComp.enable = lib.mkDefault true;
programs = {
hyprland = {
enable = true;
2024-05-28 20:28:36 -04:00
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
};
};
};
2024-03-28 16:40:23 -04:00
}