15 lines
417 B
Nix
15 lines
417 B
Nix
{ lib, config, inputs, pkgs, ... }:
|
|
let
|
|
hypr = config.maid.hypr;
|
|
in
|
|
{
|
|
options.maid.hypr = {
|
|
enable = lib.mkEnableOption "hyprland";
|
|
};
|
|
|
|
config.programs.hyprland = lib.mkIf hypr.enable {
|
|
enable = true;
|
|
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
|
|
portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
|
|
};
|
|
}
|