init
This commit is contained in:
commit
c5a26648be
13 changed files with 1211 additions and 0 deletions
15
modules/features/layers/gaming.nix
Normal file
15
modules/features/layers/gaming.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{ self, inputs, ... }: {
|
||||
flake.nixosModules.gaming = { pkgs, lib, ... }: {
|
||||
programs.steam.enable = true;
|
||||
programs.steam.gamescopeSession.enable = true;
|
||||
programs.gamemode.enable = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
mangohud
|
||||
protonup-ng
|
||||
heroic
|
||||
];
|
||||
environment.sessionVariables = {
|
||||
STEAM_EXTRA_COMPAT_TOOLS_PATH = "/home/user/.steam/root/compatibilitytools.d";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue