mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 06:18:03 +03:00
34 lines
524 B
Nix
34 lines
524 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./steam
|
|
];
|
|
|
|
programs.gamemode = {
|
|
enable = true;
|
|
enableRenice = true;
|
|
settings = {
|
|
general = {
|
|
renice = 10;
|
|
softrealtime = "auto";
|
|
ioprio = 0;
|
|
};
|
|
gpu = {
|
|
apply_gpu_optimisations = "accept-responsibility";
|
|
gpu_device = 0;
|
|
};
|
|
cpu = {
|
|
park_cores = "no";
|
|
pin_cores = "yes";
|
|
};
|
|
};
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
gamescope
|
|
protonup-qt
|
|
mangohud
|
|
];
|
|
}
|