try out hyprland again and waybar changes

This commit is contained in:
Kopatz
2024-07-24 18:10:22 +02:00
parent c304dad5c5
commit 45d93bc672
10 changed files with 333 additions and 37 deletions

View File

@@ -32,6 +32,12 @@ in {
__GLX_VENDOR_LIBRARY_NAME = "nvidia";
#WLR_BACKENDS="x11,way
};
nix.settings = {
substituters = [ "https://hyprland.cachix.org" ];
trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
];
};
hardware = {
# Opengl

View File

@@ -20,7 +20,7 @@ in {
driSupport32Bit = true;
};
};
in lib.mkIf cfg.enable nvidiaOption // {
in lib.mkIf cfg.enable (lib.recursiveUpdate nvidiaOption {
boot.kernelParams = [ "nvidia-drm.fbdev=1" ];
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia = {
@@ -45,5 +45,5 @@ in {
# Optionally, you may need to select the appropriate driver version for your specific GPU.
package = config.boot.kernelPackages.nvidiaPackages.beta;
};
};
});
}