chore: move to (unstable) mainline hyprland

This commit is contained in:
Nickolaj Jepsen 2025-04-22 09:25:32 +02:00
parent 5c6b8d73df
commit 0aca011b0d
3 changed files with 22 additions and 466 deletions

View file

@ -1,21 +1,14 @@
{
lib,
config,
inputs,
pkgs,
pkgsUnstable,
...
}:
with lib; let
cfg = config.fireproof;
primaryMonitorName = (builtins.head config.monitors).name or "";
hyprPkgs = {
inherit (inputs.hyprland.packages.${pkgs.system}) hyprland;
inherit (inputs.hyprland.packages.${pkgs.system}) xdg-desktop-portal-hyprland;
mesa = inputs.hyprland.inputs.nixpkgs.legacyPackages.${pkgs.system}.mesa.drivers;
mesa32 = inputs.hyprland.inputs.nixpkgs.legacyPackages.${pkgs.system}.pkgsi686Linux.mesa.drivers;
};
color = {
bg = "rgb(1C1B1A)";
ui = "rgb(343331)";
@ -72,8 +65,8 @@ in {
config = {
programs.uwsm.enable = true;
programs.hyprland = {
package = hyprPkgs.hyprland;
portalPackage = hyprPkgs.xdg-desktop-portal-hyprland;
package = pkgsUnstable.hyprland;
portalPackage = pkgsUnstable.xdg-desktop-portal-hyprland;
enable = true;
withUWSM = true;
xwayland.enable = true;
@ -83,14 +76,6 @@ in {
services.dbus.enable = true;
services.systembus-notify.enable = true;
hardware = {
graphics = {
enable = true;
package = hyprPkgs.mesa;
package32 = hyprPkgs.mesa32;
};
};
environment.sessionVariables.NIXOS_OZONE_WL = "1";
environment.systemPackages = with pkgs; [
hyprcursor