fix
This commit is contained in:
parent
8adc14e69b
commit
5368db95ed
1 changed files with 9 additions and 9 deletions
|
|
@ -1,16 +1,16 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
# Fetch nix-minecraft repository without using flakes
|
nix-minecraft = import (builtins.fetchTarball {
|
||||||
nix-minecraft-src = builtins.fetchTarball {
|
|
||||||
url = "https://github.com/Infinidoge/nix-minecraft/archive/master.tar.gz";
|
url = "https://github.com/Infinidoge/nix-minecraft/archive/master.tar.gz";
|
||||||
sha256 = "069asc38ja70k1gkrp51ykbzc3zx7jfw20lw37wdlf9nmyvqxhq0";
|
});
|
||||||
};
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# Import the actual minecraft-servers NixOS module from nix-minecraft
|
imports = [
|
||||||
imports = [ "${nix-minecraft-src}/default.nix" ];
|
nix-minecraft.nixosModules.minecraft-servers
|
||||||
|
];
|
||||||
|
|
||||||
# Apply the overlay to pkgs so minecraftServers packages are available
|
nixpkgs.overlays = [
|
||||||
nixpkgs.overlays = [ (import "${nix-minecraft-src}/overlay.nix") ];
|
nix-minecraft.overlay
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue