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