34 lines
664 B
Nix
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 ];
|
|
};
|
|
}
|
|
|