Files
nixos-config/configs/games.nix
Alexander Szczepanski 1ce3dc6971 desktop-2024-07-09-11-21-50
2024-07-12 15:08:52 +02:00

37 lines
684 B
Nix
Executable File

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