• Updates flake to use unstable nixpkgs for gaming packages • Replaces custom gamescope setup with play flake integration • Adds wrappers for Steam, Heroic, and Lutris desktop entries • Simplifies host gaming configuration by delegating to play • Remove proton-cachyos, handled by play now
32 lines
449 B
Nix
32 lines
449 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
inputs,
|
|
...
|
|
}:
|
|
{
|
|
imports = [
|
|
inputs.play.nixosModules.play
|
|
];
|
|
|
|
play = {
|
|
amd.enable = true;
|
|
ananicy.enable = true;
|
|
gamemode.enable = true;
|
|
|
|
steam = {
|
|
enable = true;
|
|
extraCompatPackages = with pkgs; [
|
|
proton-ge-bin
|
|
];
|
|
};
|
|
|
|
lutris.enable = true;
|
|
};
|
|
|
|
# Additional packages not covered by play.nix
|
|
environment.systemPackages = with pkgs; [
|
|
heroic
|
|
];
|
|
}
|