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