nixcfg/nixosModules/desktop/hyprland/default.nix

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