diff --git a/modules/hyprland/nixos.nix b/modules/hyprland/nixos.nix index 7626197..afc6014 100644 --- a/modules/hyprland/nixos.nix +++ b/modules/hyprland/nixos.nix @@ -7,6 +7,7 @@ }: let cfg = config.modules.Hyprland; + pkgs-unstable = inputs.hyprland.inputs.nixpkgs.legacyPackages.${pkgs.stdenv.hostPlatform.system}; in { options.modules.Hyprland = { @@ -16,6 +17,7 @@ in programs.xwayland.enable = true; programs.hyprland = { enable = true; + withUWSM = true; # set the flake package package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland; # make sure to also set the portal package, so that they are in sync @@ -31,5 +33,12 @@ in substituters = [ "https://hyprland.cachix.org" ]; trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ]; }; + hardware.graphics = { + package = pkgs-unstable.mesa; + + # if you also want 32-bit support (e.g for Steam) + enable32Bit = true; + package32 = pkgs-unstable.pkgsi686Linux.mesa; + }; }; }