mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 12:23:56 -05:00
24 lines
446 B
Nix
24 lines
446 B
Nix
{
|
|
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;
|
|
};
|
|
};
|
|
};
|
|
}
|