heheheheheehehehe
This commit is contained in:
parent
1bdebe1771
commit
349156c636
|
@ -105,6 +105,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
fedi = { akkoma.enable = true; };
|
fedi = { akkoma.enable = true; };
|
||||||
|
game = { minecraft.enable = true; };
|
||||||
media = {
|
media = {
|
||||||
qbittorrent = {
|
qbittorrent = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -6,17 +6,30 @@ in {
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
imports = [ inputs.nix-minecraft.nixosModules.minecraft-server ];
|
imports = [ inputs.nix-minecraft.nixosModules.minecraft-server ];
|
||||||
nixpkgs.overlays = [ inputs.nix-minecraft.overlay ];
|
nixpkgs = {
|
||||||
|
overlays = [ inputs.nix-minecraft.overlay ];
|
||||||
|
config.allowUnfreePredicate = pkg:
|
||||||
|
builtins.elem (lib.getName pkgs) [ "minecraft-server" ];
|
||||||
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
minecraft-servers.servers.wires =
|
minecraft-servers.servers.wires =
|
||||||
let modpack = pkgs.fetchPackwizModpack { url = ./sakopack; };
|
let modpack = pkgs.fetchPackwizModpack { url = ./sakopack; };
|
||||||
in {
|
in {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
# HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHHAAHAHHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAH
|
||||||
|
eula = true;
|
||||||
|
openFirewall = true;
|
||||||
package = pkgs.fabrticServers.fabric-1_24_4.override {
|
package = pkgs.fabrticServers.fabric-1_24_4.override {
|
||||||
loaderVersion = "0.16.9";
|
loaderVersion = "0.16.9";
|
||||||
};
|
};
|
||||||
whielist = { Sakoooo = "6b05caca-3d78-4597-aba5-d0f816f94024"; };
|
whielist = { Sakoooo = "6b05caca-3d78-4597-aba5-d0f816f94024"; };
|
||||||
|
serverProperties = {
|
||||||
|
white-list = true;
|
||||||
|
difficulty = "normal";
|
||||||
|
server-port = 25568;
|
||||||
|
gamemode = "survival";
|
||||||
|
};
|
||||||
symlinks = { "mods" = "${modpack}/mods"; };
|
symlinks = { "mods" = "${modpack}/mods"; };
|
||||||
# files = {
|
# files = {
|
||||||
# "config" = "${modpack}/config";
|
# "config" = "${modpack}/config";
|
||||||
|
|
Loading…
Reference in a new issue