2022-06-20 03:06:53 +00:00
|
|
|
{ config, pkgs, lib, ... }: {
|
|
|
|
|
2022-07-01 16:08:49 +00:00
|
|
|
#enable nonfree packages
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
|
2022-06-20 03:06:53 +00:00
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
lutris
|
|
|
|
radeontop
|
|
|
|
];
|
|
|
|
|
|
|
|
#add 32bit support for graphics
|
|
|
|
hardware.opengl.driSupport32Bit = true;
|
|
|
|
|
2022-07-01 16:08:49 +00:00
|
|
|
#nixpkgs.config.packageOverrides = pkgs: {
|
|
|
|
# steam = pkgs.steam.override {
|
|
|
|
# extraPkgs = pkgs: with pkgs; [
|
|
|
|
# libgdiplus
|
|
|
|
# libpng
|
|
|
|
# ];
|
|
|
|
# };
|
|
|
|
#};
|
|
|
|
|
2022-06-20 03:06:53 +00:00
|
|
|
programs.steam = {
|
|
|
|
enable = false;
|
|
|
|
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
|
|
|
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|