Add settings for graphics
This commit is contained in:
parent
89114cc957
commit
314c386085
9 changed files with 50 additions and 54 deletions
|
@ -43,6 +43,11 @@ in {
|
|||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
||||
|
||||
boot.kernel.sysctl = {
|
||||
"vm.max_map_count" = 1048576; # Needed by DayZ
|
||||
};
|
||||
|
||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
# Configure network proxy if necessary
|
||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||
|
|
|
@ -12,9 +12,10 @@
|
|||
# For 32 bit applications
|
||||
hardware.opengl.driSupport32Bit = true;
|
||||
hardware.opengl.extraPackages = with pkgs; [ amdvlk ];
|
||||
# For 32 bit applications
|
||||
# For 32 bit applications
|
||||
# Only available on unstable
|
||||
hardware.opengl.extraPackages32 = with pkgs; [ driversi686Linux.amdvlk ];
|
||||
environment.variables = { AMD_VULKAN_ICD = "RADV"; };
|
||||
|
||||
boot.extraModulePackages = [ ];
|
||||
fileSystems."/" = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue