1
Fork 0

Optimize performance in games

- Switch kernel to xanmod
- Allow tearing in Hyprland
This commit is contained in:
caem 2024-05-25 16:49:53 +02:00
parent 102325d0b7
commit 802515cc86
Signed by: caem
GPG key ID: 69A830D03203405F
3 changed files with 3 additions and 1 deletions

View file

@ -16,7 +16,7 @@
device = "nodev";
gfxmodeEfi = "1920x1080";
};
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelPackages = pkgs.linuxPackages_xanmod_latest;
boot.supportedFilesystems = [ "btrfs" "xfs" ];
networking = {

View file

@ -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;

View file

@ -21,6 +21,7 @@
gaps_out = 10;
border_size = 1;
layout = "master";
allow_tearing = true;
};
master = {