Files
nixos-config/configs/games.nix
2024-05-25 15:41:10 +02:00

38 lines
667 B
Nix
Executable File

{ 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
];
}