init
This commit is contained in:
commit
498f3050d5
145 changed files with 2964 additions and 0 deletions
9
home/programs/games/default.nix
Normal file
9
home/programs/games/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
heroic
|
||||
lutris
|
||||
prismlauncher
|
||||
gamescope
|
||||
];
|
||||
programs.mangohud.enable = true;
|
||||
}
|
31
home/programs/games/steam.nix
Normal file
31
home/programs/games/steam.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: let
|
||||
steam-with-pkgs = pkgs.steam.override {
|
||||
extraPkgs = pkgs:
|
||||
with pkgs; [
|
||||
xorg.libXcursor
|
||||
xorg.libXi
|
||||
xorg.libXinerama
|
||||
xorg.libXScrnSaver
|
||||
libpng
|
||||
libpulseaudio
|
||||
libvorbis
|
||||
stdenv.cc.cc.lib
|
||||
libkrb5
|
||||
keyutils
|
||||
gamescope
|
||||
gamemode
|
||||
mangohud
|
||||
];
|
||||
extraProfile = "export STEAM_EXTRA_COMPAT_TOOLS_PATHS='${inputs.nix-gaming.packages.${pkgs.system}.proton-ge}'";
|
||||
};
|
||||
in {
|
||||
home.packages = with pkgs; [
|
||||
steam-with-pkgs
|
||||
steam-run
|
||||
protontricks
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue