Files
nixos-config/configs/games.nix
Alexander Szczepanski b94912e152 desktop-2024-06-02-13-55-55
2024-06-02 13:55:55 +02:00

33 lines
685 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 = {
gamescope.enable = true;
steam = {
enable = true;
package = unstable.pkgs.steam;
};
};
environment.systemPackages = with unstable.pkgs; [
goverlay
lutris
protontricks
protonup-qt
vulkan-tools
wine
winetricks
];
}