Optimize performance in games
- Switch kernel to xanmod - Allow tearing in Hyprland
This commit is contained in:
parent
102325d0b7
commit
802515cc86
3 changed files with 3 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
|||
device = "nodev";
|
||||
gfxmodeEfi = "1920x1080";
|
||||
};
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
boot.kernelPackages = pkgs.linuxPackages_xanmod_latest;
|
||||
boot.supportedFilesystems = [ "btrfs" "xfs" ];
|
||||
|
||||
networking = {
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
GBM_BACKEND = "nvidia-drm";
|
||||
__GLX_VENDOR_LIBRARY_NAME = "nvidia";
|
||||
NIXOS_OZONE_WL = 1; # TODO: This doesn't work. Fix it
|
||||
WLR_DRM_NO_ATOMIC = 1;
|
||||
};
|
||||
|
||||
programs.hyprland.enable = true;
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
gaps_out = 10;
|
||||
border_size = 1;
|
||||
layout = "master";
|
||||
allow_tearing = true;
|
||||
};
|
||||
|
||||
master = {
|
||||
|
|
Loading…
Reference in a new issue