Compare commits

..

4 commits

3 changed files with 18 additions and 7 deletions

View file

@ -24,7 +24,14 @@
virtualisation.docker.enable = true; virtualisation.docker.enable = true;
# Torrent client # Torrent client
services.transmission.enable = true; services.transmission = {
enable = true;
settings = {
rpc-bind-address = "192.168.7.10";
rpc-port = 9091;
rpc-whitelist = "192.168.7.*";
};
};
services.ollama = { services.ollama = {
enable = true; enable = true;

View file

@ -8,10 +8,12 @@ in
mindustry.enable = mkEnableOption "mindustry"; mindustry.enable = mkEnableOption "mindustry";
widelands.enable = mkEnableOption "widelands"; widelands.enable = mkEnableOption "widelands";
unciv.enable = mkEnableOption "unciv"; unciv.enable = mkEnableOption "unciv";
freeciv.enable = mkEnableOption "freeciv";
}; };
config.home.packages = config.home.packages =
lib.optional cfg.mindustry.enable pkgs.unstable.mindustry lib.optional cfg.mindustry.enable pkgs.unstable.mindustry
++ lib.optional cfg.widelands.enable pkgs.widelands ++ lib.optional cfg.widelands.enable pkgs.widelands
++ lib.optional cfg.unciv.enable pkgs.unstable.unciv; ++ lib.optional cfg.unciv.enable pkgs.unstable.unciv
++ lib.optional cfg.freeciv.enable pkgs.unstable.freeciv;
} }

View file

@ -59,7 +59,9 @@ in
firewall = { firewall = {
allowedTCPPorts = [ 4713 ]; allowedTCPPorts = [ 4713 ];
allowedTCPPortRanges = [ allowedTCPPortRanges = [
{ from = 3000; to = 9999; } { from = 3000; to = 3999; }
{ from = 5000; to = 5999; }
{ from = 8000; to = 9999; }
{ from = 32000; to = 33999; } { from = 32000; to = 33999; }
]; ];
trustedInterfaces = [ "ve-*" ]; trustedInterfaces = [ "ve-*" ];