added gaming role.
This commit is contained in:
parent
399351c3c1
commit
9068858ee4
17
roles/nixos/gaming.nix
Normal file
17
roles/nixos/gaming.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
extraCompatPackages = with pkgs;[
|
||||
proton-ge-bin
|
||||
];
|
||||
gamescopeSession.enable=true;
|
||||
};
|
||||
programs.gamemode.enable=true;
|
||||
|
||||
hardware.steam-hardware.enable = true;
|
||||
}
|
Loading…
Reference in a new issue