feat: many changes

This commit is contained in:
Zoty 2026-03-28 21:26:04 -03:00
parent 8cd75009d9
commit 3d48e35de5
Signed by: Zoty
SSH key fingerprint: SHA256:WsGEGivgl37t3Mth6uugXMOgMCTR7QolIepNbC+j/tA
14 changed files with 304 additions and 71 deletions

37
modules/steam.nix Normal file
View file

@ -0,0 +1,37 @@
{ den, ... }: {
den.aspects.steam.nixos = { pkgs, ... }: {
programs.steam = {
enable = true;
remotePlay.openFirewall = false;
dedicatedServer.openFirewall = false;
localNetworkGameTransfers.openFirewall = true;
gamescopeSession.enable = true;
protontricks.enable = true;
extraCompatPackages = with pkgs; [
proton-ge-bin
];
# Extra packages that steam might need
extraPackages = with pkgs; [
xorg.libXcursor
xorg.libXi
xorg.libXinerama
xorg.libXScrnSaver
libpng
libpulseaudio
libvorbis
stdenv.cc.cc.lib
libkrb5
keyutils
];
};
# Fonts for better game text rendering
fonts.packages = with pkgs; [
liberation_ttf
wqy_zenhei
];
};
}