alpha
Login
or
Join now
yemou.pink
/
nix-configs
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Nix configurations for my homelab
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
Update cobblemon modpack
author
yemou
date
2 months ago
(Apr 23, 2026, 4:02 PM -0400)
commit
254d71dc
254d71dc672c360f2528868169a4853a856b95f3
parent
8bbb3c99
8bbb3c991839a16b6fcd079191f8820223f63bb8
+42
-5
1 changed file
Expand all
Collapse all
Unified
Split
modules
services
minecraft
yembina.nix
+42
-5
modules/services/minecraft/yembina.nix
Reviewed
···
1
1
{ pkgs, ... }:
2
2
{
3
3
-
networking.firewall.allowedTCPPorts = [ 25566 ];
3
3
+
networking.firewall = {
4
4
+
allowedTCPPorts = [ 25566 ];
5
5
+
allowedUDPPorts = [ 24455 ];
6
6
+
};
4
7
5
8
services.minecraft-servers.servers.yembina =
6
9
let
7
10
modpack = pkgs.fetchModrinthModpack {
8
8
-
url = "https://cloud.lilac.pink/public.php/dav/files/7tiZTEDs9ba3D8y/?accept=zip";
9
9
-
packHash = "sha256-m9CkQV5V8HKCNWCsZ0u669OlsgH8RjY5hQzOFa8PXUM=";
11
11
+
url = "https://cloud.lilac.pink/public.php/dav/files/YnWGegEGDFXfxb9/?accept=zip";
12
12
+
packHash = "sha256-qREPZjCHWEW82yhCTTzTl98iTf8I3Unt8ADxOwU90EY=";
10
13
side = "server";
11
14
};
12
15
in
···
30
33
# };
31
34
serverProperties = {
32
35
allow-flight = true;
33
33
-
difficulty = "hard";
36
36
+
difficulty = "normal";
34
37
enforce-whitelist = true;
35
35
-
motd = "yembina private server";
38
38
+
motd = "cobblemon private server";
36
39
server-ip = "::";
37
40
server-port = 25566;
38
41
spawn-protection = 0;
···
45
48
};
46
49
files = {
47
50
"config" = "${modpack}/config";
51
51
+
"config/cobblemon_smartphone.json" = pkgs.writeText "cobblemon_smartphone.json" ''
52
52
+
{
53
53
+
"cooldowns": {
54
54
+
"healButton": 60,
55
55
+
"pcButton": 5,
56
56
+
"cloudButton": 5
57
57
+
},
58
58
+
"features": {
59
59
+
"enableHeal": false,
60
60
+
"enablePC": true,
61
61
+
"enableCloud": true
62
62
+
}
63
63
+
}
64
64
+
'';
48
65
"config/fightorflight.json5" = pkgs.writeText "fightorflight.json5" ''
49
66
{
50
67
"do_pokemon_attack": true,
···
212
229
"force_enable_defend_owner": true,
213
230
"force_enable_defend_self": true
214
231
}
232
232
+
'';
233
233
+
"config/voicechat/voicechat-server.properties" = pkgs.writeText "voicechat-server.properties" ''
234
234
+
port=24455
235
235
+
bind_address=
236
236
+
max_voice_distance=48
237
237
+
whisper_distance=24
238
238
+
codec=VOIP
239
239
+
mtu_size=1024
240
240
+
tcp_rate_limit=16
241
241
+
keep_alive=1000
242
242
+
enable_groups=true
243
243
+
voice_host=
244
244
+
allow_recording=true
245
245
+
spectator_interaction=false
246
246
+
spectator_player_possession=false
247
247
+
force_voice_chat=false
248
248
+
login_timeout=10000
249
249
+
broadcast_range=-1.0
250
250
+
allow_pings=true
251
251
+
use_natives=true
215
252
'';
216
253
};
217
254
};