mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 09:44:08 -05:00
18 lines
553 B
Nix
18 lines
553 B
Nix
{ inputs, pkgs, lib, config, ...}: {
|
|
imports = [./waybar.nix];
|
|
|
|
options.hypr.enable = lib.mkEnableOption "enables hyprland";
|
|
|
|
config = lib.mkIf config.hypr.enable {
|
|
programs.hyprland = {
|
|
enable = true;
|
|
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
|
portalPackage = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
|
|
};
|
|
|
|
environment.sessionVariables = {
|
|
WLR_NO_HARDWARE_CURSORS = "1";
|
|
NIXOS_OZONE_WL = "1";
|
|
};
|
|
};
|
|
}
|