mirror of
https://github.com/eRgo35/nix-config.git
synced 2026-02-04 10:16:13 +01:00
fix: game fixes
This commit is contained in:
@@ -11,15 +11,15 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
gamemode = {
|
gamemode = {
|
||||||
enable = false;
|
enable = true;
|
||||||
enableRenice = false;
|
enableRenice = true;
|
||||||
settings = { };
|
settings = { };
|
||||||
};
|
};
|
||||||
|
|
||||||
gamescope = {
|
gamescope = {
|
||||||
enable = false;
|
enable = true;
|
||||||
args = [
|
args = [
|
||||||
"-w 1920 -h 1080"
|
"-w 2560 -h 1440"
|
||||||
"-F nis"
|
"-F nis"
|
||||||
"f"
|
"f"
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ config, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
nixpkgs.config.nvidia.acceptLicense = true;
|
nixpkgs.config.nvidia.acceptLicense = true;
|
||||||
services.xserver.videoDrivers = [ "nvidia" ];
|
services.xserver.videoDrivers = [ "nvidia" ];
|
||||||
@@ -7,6 +7,17 @@
|
|||||||
graphics = {
|
graphics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enable32Bit = true;
|
enable32Bit = true;
|
||||||
|
extraPackages = with pkgs; [
|
||||||
|
egl-wayland
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
opengl = {
|
||||||
|
enable = true;
|
||||||
|
extraPackages = with pkgs; [
|
||||||
|
vaapiVdpau
|
||||||
|
libvdpau-va-gl
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
nvidia = {
|
nvidia = {
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
brightnessctl
|
brightnessctl
|
||||||
piper
|
piper
|
||||||
alsa-utils
|
alsa-utils
|
||||||
|
wine
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.nix-ld.enable = true;
|
programs.nix-ld.enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user