mirror of
https://github.com/kaesaecracker/nixos-configuration.git
synced 2025-01-18 18:40:14 +01:00
53 lines
927 B
Nix
53 lines
927 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: {
|
|
config = {
|
|
hardware = {
|
|
opengl = {
|
|
driSupport = true;
|
|
driSupport32Bit = true;
|
|
extraPackages = with pkgs; [mangohud];
|
|
extraPackages32 = with pkgs; [mangohud];
|
|
};
|
|
|
|
steam-hardware.enable = true;
|
|
xpadneo.enable = true;
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
wineWowPackages.stagingFull
|
|
wineWowPackages.fonts
|
|
winetricks
|
|
dxvk
|
|
mangohud
|
|
vulkan-tools
|
|
glxinfo
|
|
lutris
|
|
];
|
|
|
|
programs = {
|
|
xwayland.enable = true;
|
|
steam = {
|
|
enable = true;
|
|
remotePlay.openFirewall = true;
|
|
dedicatedServer.openFirewall = true;
|
|
};
|
|
gamemode.enable = true;
|
|
};
|
|
|
|
networking.firewall.allowedUDPPorts = [
|
|
# Factorio
|
|
34197
|
|
];
|
|
|
|
my.allowUnfreePackages = [
|
|
"steam"
|
|
"steam-original"
|
|
"steam-run"
|
|
];
|
|
};
|
|
}
|