added gaming role.

This commit is contained in:
Gabe Venberg 2024-05-22 13:52:00 -05:00
parent 399351c3c1
commit 9068858ee4
2 changed files with 18 additions and 1 deletions

17
roles/nixos/gaming.nix Normal file
View 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;
}