Fixes gpu/mesa/opengl version mismatches on hyprland

This commit is contained in:
Emmet 2024-05-27 14:21:17 -05:00
parent 899db63096
commit 3141f4bfaa
3 changed files with 23 additions and 11 deletions

View file

@ -1,5 +1,6 @@
{ inputs, config, lib, pkgs, userSettings, systemSettings, ... }:
{ inputs, config, lib, pkgs, userSettings, systemSettings, ... }: let
pkgs-hyprland = inputs.hyprland.inputs.nixpkgs.legacyPackages.${pkgs.stdenv.hostPlatform.system};
in
{
imports = [
../../app/terminal/alacritty.nix
@ -320,7 +321,7 @@
systemd.enable = true;
};
home.packages = with pkgs; [
home.packages = (with pkgs; [
alacritty
kitty
feh
@ -368,7 +369,6 @@
hyprland-protocols
hyprpicker
hypridle
hyprlock
swaybg
fnott
fuzzel
@ -449,8 +449,9 @@
terminal = false;
icon = "emacs";
type = "Application";
})
];
})])
++
(with pkgs-hyprland; [ hyprlock ]);
home.file.".config/nwg-dock-hyprland/style.css".text = ''
window {
background: rgba(''+config.lib.stylix.colors.base00-rgb-r+'',''+config.lib.stylix.colors.base00-rgb-g+'',''+config.lib.stylix.colors.base00-rgb-b+'',0.0);