feat: many changes
This commit is contained in:
parent
8cd75009d9
commit
3d48e35de5
14 changed files with 304 additions and 71 deletions
37
modules/steam.nix
Normal file
37
modules/steam.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue