Compare commits

...

2 commits

Author SHA1 Message Date
27b1c639dd add minecraft launcher 2024-05-01 12:48:35 +02:00
98f99499ba add minecraft server 2024-05-01 12:48:01 +02:00
3 changed files with 22 additions and 0 deletions

View file

@ -106,6 +106,7 @@
"192.168.88.253" = [ "192.168.88.253" = [
self.nixosConfigurations.flora-mate.config.networking.hostName self.nixosConfigurations.flora-mate.config.networking.hostName
"ap" "ap"
"minecraft"
]; ];
"192.168.88.1" = [ "192.168.88.1" = [
"router" "router"

View file

@ -83,6 +83,7 @@
mako # notification system developed by swaywm maintainer mako # notification system developed by swaywm maintainer
kitty kitty
firefox-devedition firefox-devedition
prismlauncher
]; ];
xdg = { xdg = {

View file

@ -42,4 +42,24 @@
PASSPHRASE = "VerySecurePassword69123"; PASSPHRASE = "VerySecurePassword69123";
}; };
}; };
services.minecraft-server = {
enable = true;
eula = true;
declarative = true;
openFirewall = true;
serverProperties = {
accepts-transfers = true;
difficulty = 3;
enable-command-block = true;
enable-rcon = true;
enable-status = true;
enable-query = true;
enforce-secure-profile = false;
max-players = 10;
motd = "IT3Bili Minecraft server!";
snooper-enabled = false;
spawn-protection = 0;
"rcon.password" = "AcceseGranted";
};
};
} }