framework-2023-08-22-11-49-02
This commit is contained in:
35
configs/games.nix
Normal file
35
configs/games.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{ 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; [
|
||||
lutris
|
||||
vulkan-tools
|
||||
wine
|
||||
winetricks
|
||||
];
|
||||
}
|
Reference in New Issue
Block a user