updated system config
This commit is contained in:
parent
3164b76d64
commit
1379578685
1 changed files with 33 additions and 0 deletions
|
@ -218,6 +218,39 @@
|
||||||
policy = ["magic"];
|
policy = ["magic"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.nix-ld.enable = true;
|
||||||
|
|
||||||
|
# "minimum" amount of libraries needed for most games to run without steam-run
|
||||||
|
programs.nix-ld.libraries = with pkgs; [
|
||||||
|
# common requirement for several games
|
||||||
|
stdenv.cc.cc.lib
|
||||||
|
|
||||||
|
# from https://github.com/NixOS/nixpkgs/blob/nixos-23.05/pkgs/games/steam/fhsenv.nix#L72-L79
|
||||||
|
xorg.libXcomposite
|
||||||
|
xorg.libXtst
|
||||||
|
xorg.libXrandr
|
||||||
|
xorg.libXext
|
||||||
|
xorg.libX11
|
||||||
|
xorg.libXfixes
|
||||||
|
libGL
|
||||||
|
libva
|
||||||
|
|
||||||
|
# from https://github.com/NixOS/nixpkgs/blob/nixos-23.05/pkgs/games/steam/fhsenv.nix#L124-L136
|
||||||
|
fontconfig
|
||||||
|
freetype
|
||||||
|
xorg.libXt
|
||||||
|
xorg.libXmu
|
||||||
|
libogg
|
||||||
|
libvorbis
|
||||||
|
SDL
|
||||||
|
SDL2_image
|
||||||
|
glew110
|
||||||
|
libdrm
|
||||||
|
libidn
|
||||||
|
tbb
|
||||||
|
zlib
|
||||||
|
];
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||||
# Or disable the firewall altogether.
|
# Or disable the firewall altogether.
|
||||||
|
|
Loading…
Reference in a new issue