hyprland 500fps
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Monitor ( https://wiki.hyprland.org/Configuring/Monitors )
|
||||
monitor=,1920x1080@240,auto,1
|
||||
monitor=Unknown-1,disabled
|
||||
# monitor=,1920x1080@240,auto,1
|
||||
# monitor=Unknown-1,disabled
|
||||
|
||||
# General Configuration
|
||||
general {
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
inherit inputs;
|
||||
};
|
||||
modules = [
|
||||
inputs.nixos-hardware.nixosModules.common-gpu-nvidia
|
||||
# inputs.nixos-hardware.nixosModules.common-gpu-nvidia
|
||||
inputs.home-manager.nixosModules.default
|
||||
inputs.catppuccin.nixosModules.catppuccin
|
||||
inputs.nix-flatpak.nixosModules.nix-flatpak
|
||||
|
||||
@@ -45,25 +45,19 @@
|
||||
};
|
||||
|
||||
hardware.nvidia = {
|
||||
prime = {
|
||||
intelBusId = "PCI:0:2:0";
|
||||
nvidiaBusId = "PCI:1:0:0";
|
||||
offload.enableOffloadCmd = true;
|
||||
};
|
||||
modesetting.enable = true;
|
||||
powerManagement.enable = false;
|
||||
powerManagement.finegrained = false;
|
||||
open = false;
|
||||
nvidiaSettings = true;
|
||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||
package = config.boot.kernelPackages.nvidiaPackages.beta;
|
||||
};
|
||||
|
||||
boot.kernelModules = [ "nvidia-uvm" "nvidia-drm" ];
|
||||
boot.blacklistedKernelModules = [ "nouveau" ];
|
||||
|
||||
boot.kernelParams = [ "acpi_osi=Linux" ];
|
||||
boot.kernelParams = [ "nvidia-drm.modeset=1" "nvidia-drm.fbdev=1" ];
|
||||
|
||||
services.xserver.enable = true;
|
||||
services.xserver.videoDrivers = ["nvidia"];
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user