nixcfg/nixosModules/desktop/hyprland/default.nix

24 lines
446 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-26 03:43:18 -04:00
alyraffauf.desktop.waylandComp.enable = true;
programs = {
hyprland = {
enable = true;
package = inputs.nixpkgsUnstable.legacyPackages."${pkgs.system}".hyprland;
};
};
};
2024-03-28 16:40:23 -04:00
}