1
Fork 0
nixos-system-config/modules/desktop/apps/games.nix
caem af0078d7af
Refactor configuration to be more modular.
TODO: Update the documentation in the README to reflect changes
2024-08-26 15:01:33 +02:00

34 lines
664 B
Nix

{ pkgs, ... }:
{
environment.persistence."/nix/persist".users.hu.directories = [
".steam"
".local/share/Steam"
".local/share/honkers-railway-launcher"
".local/share/PrismLauncher"
".xlcore"
".local/share/Euro Truck Simulator 2"
".local/share/osu"
];
programs.steam = {
enable = true;
remotePlay.openFirewall = false;
dedicatedServer.openFirewall = true;
};
environment.systemPackages = with pkgs; [
prismlauncher
protonup-qt
xivlauncher
osu-lazer-bin
protontricks
];
# Minecraft server
networking.firewall = {
allowedTCPPorts = [ 25565 ];
allowedUDPPorts = [ 25565 ];
};
}