mirror of
https://github.com/eRgo35/nix-config.git
synced 2026-02-04 07:06:12 +01:00
32 lines
511 B
Nix
Executable File
32 lines
511 B
Nix
Executable File
{
|
|
pkgs,
|
|
username,
|
|
...
|
|
}: {
|
|
users.users.${username}.packages = with pkgs; [heroic];
|
|
hardware.steam-hardware.enable = true;
|
|
|
|
programs = {
|
|
steam = {
|
|
enable = true;
|
|
gamescopeSession.enable = true;
|
|
extraCompatPackages = with pkgs; [proton-ge-bin];
|
|
};
|
|
|
|
gamemode = {
|
|
enable = true;
|
|
enableRenice = true;
|
|
settings = {};
|
|
};
|
|
|
|
gamescope = {
|
|
enable = true;
|
|
args = [
|
|
"-w 2560 -h 1440"
|
|
"-F nis"
|
|
"f"
|
|
];
|
|
};
|
|
};
|
|
}
|