chore fixes and gaming
This commit is contained in:
parent
91c08fcab7
commit
7ac1e734e7
7 changed files with 36 additions and 62 deletions
39
modules/gaming.nix
Normal file
39
modules/gaming.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ den, pkgs-unstable, ... }: {
|
||||
den.aspects.gaming.nixos = { pkgs, ... }: {
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
enable32Bit = true;
|
||||
};
|
||||
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
package = pkgs-unstable.steam;
|
||||
|
||||
remotePlay.openFirewall = false;
|
||||
dedicatedServer.openFirewall = false;
|
||||
localNetworkGameTransfers.openFirewall = true;
|
||||
gamescopeSession.enable = true;
|
||||
protontricks.enable = true;
|
||||
|
||||
extraCompatPackages = with pkgs; [
|
||||
proton-ge-bin
|
||||
];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
(prismlauncher.override {
|
||||
jdks = [
|
||||
temurin-bin-8
|
||||
temurin-bin-17
|
||||
temurin-bin-21
|
||||
temurin-bin-25
|
||||
];
|
||||
})
|
||||
];
|
||||
|
||||
fonts.packages = with pkgs; [
|
||||
liberation_ttf
|
||||
wqy_zenhei
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue