Files
nixos-config/configs/games.nix
2023-09-01 11:22:54 +02:00

39 lines
704 B
Nix

{ config, pkgs, lib, ... }:
let
unstable = import <nixos-unstable> {
config.allowUnfree = true;
config.packageOverrides = pkgs: {
steam = pkgs.steam.override {
extraPkgs = pkgs: with unstable.pkgs; [
gamescope
mangohud
ncurses6
];
};
lutris = pkgs.lutris.override {
extraPkgs = pkgs: with unstable.pkgs; [
gamescope
mangohud
];
};
};
};
in
{
programs.steam = {
enable = true;
package = unstable.pkgs.steam;
};
environment.systemPackages = with unstable.pkgs; [
goverlay
lutris
protontricks
protonup-qt
vulkan-tools
wine
winetricks
];
}