aboutsummaryrefslogtreecommitdiff
path: root/nixos/games/default.nix
blob: 9c0b66e8c0928fe00b3a7446140c9bfb4a781391 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ config, unstable, pkgs, games, ... }:
{
  imports =
    (if games.minecraft then [ ./minecraft.nix ] else []);
  programs.steam.enable = true;
  programs.steam.protontricks.enable = true;
  programs.gamemode.enable = true;
  programs.steam.extraCompatPackages = with pkgs; [
    proton-ge-bin
  ];
  environment.systemPackages = with pkgs; [
    lutris
    steam-run
    mangohud
    freetype
    fontconfig
  ];
}