35 lines
698 B
Nix
35 lines
698 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"
|
|
".local/share/Colossal Order"
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|
|
|