mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 12:31:55 -05:00
23 lines
400 B
Nix
23 lines
400 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
options = {
|
|
alyraffauf.desktop.hyprland.enable =
|
|
lib.mkEnableOption "Hyprland wayland compositor.";
|
|
};
|
|
|
|
config = lib.mkIf config.alyraffauf.desktop.hyprland.enable {
|
|
alyraffauf.desktop.waylandComp.enable = lib.mkDefault true;
|
|
|
|
programs = {
|
|
hyprland = {
|
|
enable = true;
|
|
package = pkgs.hyprland;
|
|
};
|
|
};
|
|
};
|
|
}
|