Refactor configuration to be more modular.

TODO: Update the documentation in the README to reflect changes
This commit is contained in:
caem 2024-08-26 15:01:33 +02:00
parent 7a30ff9f94
commit af0078d7af
Signed by: caem
GPG key ID: 69A830D03203405F
32 changed files with 889 additions and 1125 deletions

View file

@ -1,6 +1,16 @@
{ 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;
@ -14,5 +24,11 @@
osu-lazer-bin
protontricks
];
# Minecraft server
networking.firewall = {
allowedTCPPorts = [ 25565 ];
allowedUDPPorts = [ 25565 ];
};
}