Add requirements for Star Citizen

Increase vm.max_map_count
Add lutris, wine(-wayland) and winetricks packages
This commit is contained in:
Evie Litherland-Smith 2023-05-26 18:37:50 +01:00
parent 2da1137086
commit ebcfae9f37

View file

@ -30,7 +30,6 @@
home-manager.users.xenia = import ./home/Vanguard/xenia.nix; home-manager.users.xenia = import ./home/Vanguard/xenia.nix;
# Enable steam with proper integrations # Enable steam with proper integrations
environment.systemPackages = [pkgs.mesa];
programs.gamescope.enable = true; programs.gamescope.enable = true;
programs.steam = { programs.steam = {
enable = true; enable = true;
@ -39,6 +38,10 @@
hardware.steam-hardware.enable = true; hardware.steam-hardware.enable = true;
hardware.opengl.driSupport32Bit = true; hardware.opengl.driSupport32Bit = true;
# Requirements for Star Citizen
boot.kernel.sysctl."vm.max_map_count" = 16777216;
environment.systemPackages = with pkgs; [mesa lutris wine-wayland winetricks];
# Extra hardware configuration # Extra hardware configuration
hardware.openrazer = { hardware.openrazer = {
enable = true; enable = true;