try out hyprland again and waybar changes
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user