29 lines
713 B
Nix
29 lines
713 B
Nix
{ inputs, ... }: {
|
|
|
|
flake.nixosModules.hyprland = { config, lib, pkgs, ... }: {
|
|
|
|
config = {
|
|
|
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
|
|
|
programs.hyprland = let
|
|
system = pkgs.stdenv.hostPlatform.system;
|
|
#pkgs-us = import inputs.nixpkgs-us { inherit system; };
|
|
in {
|
|
enable = true;
|
|
|
|
withUWSM = false;
|
|
|
|
xwayland.enable = true;
|
|
|
|
systemd.setPath.enable = true;
|
|
|
|
package = inputs.hyprland.packages.${system}.hyprland;
|
|
|
|
portalPackage = inputs.hyprland.packages.${system}.xdg-desktop-portal-hyprland;
|
|
};
|
|
};
|
|
};
|
|
}
|
|
|