update modpack
This commit is contained in:
		
							parent
							
								
									f4ac9c1753
								
							
						
					
					
						commit
						2e635ce32f
					
				
					 1 changed files with 7 additions and 2 deletions
				
			
		| 
						 | 
					@ -6,9 +6,9 @@
 | 
				
			||||||
  ...
 | 
					  ...
 | 
				
			||||||
}: let
 | 
					}: let
 | 
				
			||||||
  modpack = pkgs.fetchPackwizModpack rec {
 | 
					  modpack = pkgs.fetchPackwizModpack rec {
 | 
				
			||||||
    version = "4d507be";
 | 
					    version = "9083262";
 | 
				
			||||||
    url = "https://raw.githubusercontent.com/sajenim/minecraft-modpack/${version}/pack.toml";
 | 
					    url = "https://raw.githubusercontent.com/sajenim/minecraft-modpack/${version}/pack.toml";
 | 
				
			||||||
    packHash = "sha256-1Za6ZSLVE6jbwlqkJriQNvuoFAnOVz76t8BWtR6al7o=";
 | 
					    packHash = "sha256-JQTU2qQfiqrAnvp2D0bNwfqYkGyH7yy0cMrNgoCTJ2I=";
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
  mcVersion = modpack.manifest.versions.minecraft;
 | 
					  mcVersion = modpack.manifest.versions.minecraft;
 | 
				
			||||||
  fabricVersion = modpack.manifest.versions.fabric;
 | 
					  fabricVersion = modpack.manifest.versions.fabric;
 | 
				
			||||||
| 
						 | 
					@ -61,6 +61,9 @@ in {
 | 
				
			||||||
        # Things to copy into this server's data directory.
 | 
					        # Things to copy into this server's data directory.
 | 
				
			||||||
        files = {
 | 
					        files = {
 | 
				
			||||||
          "ops.json" = ./ops.json;
 | 
					          "ops.json" = ./ops.json;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					          # Your'r in grave danger!
 | 
				
			||||||
 | 
					          "config/yigd.json" = "${modpack}/config/yigd.json";
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # Value of systemd's `Restart=` service configuration option.
 | 
					        # Value of systemd's `Restart=` service configuration option.
 | 
				
			||||||
| 
						 | 
					@ -94,12 +97,14 @@ in {
 | 
				
			||||||
        service = "minecraft";
 | 
					        service = "minecraft";
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Define the service for the minecraft server.
 | 
					    # Define the service for the minecraft server.
 | 
				
			||||||
    services = {
 | 
					    services = {
 | 
				
			||||||
      minecraft.loadBalancer.servers = [
 | 
					      minecraft.loadBalancer.servers = [
 | 
				
			||||||
        {url = "http://127.0.0.1:${toString config.services.minecraft-servers.servers.kanto.serverProperties.server-port}";}
 | 
					        {url = "http://127.0.0.1:${toString config.services.minecraft-servers.servers.kanto.serverProperties.server-port}";}
 | 
				
			||||||
      ];
 | 
					      ];
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # Enable persistence for the data directory.
 | 
					  # Enable persistence for the data directory.
 | 
				
			||||||
  environment.persistence."/persist" = {
 | 
					  environment.persistence."/persist" = {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue