nixos-config/modules/system/steam/default.nix
Mohamed C. 6b0a9bda8b
Some checks are pending
Flake.lock / build (push) Waiting to run
add certificate for space marine 2
2024-10-06 16:42:34 +02:00

35 lines
758 B
Nix

{ pkgs, ... }:
{
# Workaround for Warhammer Login Issue
security.pki.certificateFiles = [ ../../../dotfiles/api.neocoregames.com.cert ];
nixpkgs.config.packageOverrides = pkgs: {
steam = pkgs.steam.override {
extraPkgs = pkgs: with pkgs; [
xorg.libXcursor
xorg.libXi
xorg.libXinerama
xorg.libXScrnSaver
libpng
libpulseaudio
libvorbis
stdenv.cc.cc.lib
libkrb5
keyutils
];
};
};
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
localNetworkGameTransfers.openFirewall = true;
};
environment.systemPackages =
(with pkgs; [
gamescope
mangohud
protonup-qt
]);
}