actual idiot award
This commit is contained in:
parent
61241c8a15
commit
4cfb06fabb
|
@ -3,15 +3,15 @@ with lib;
|
|||
let cfg = config.void.server.game.minecraft;
|
||||
in {
|
||||
imports = [ inputs.nix-minecraft.nixosModules.minecraft-servers ];
|
||||
options.void.server.game.minecraft = { enable = mkEnableOption false; };
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
nixpkgs = {
|
||||
overlays = [ inputs.nix-minecraft.overlay ];
|
||||
config.allowUnfreePredicate = pkg:
|
||||
builtins.elem (lib.getName pkgs) [ "minecraft-server" ];
|
||||
};
|
||||
|
||||
options.void.server.game.minecraft = { enable = mkEnableOption false; };
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
# services = {
|
||||
services.minecraft-servers.servers.wires =
|
||||
let modpack = pkgs.fetchPackwizModpack { url = ./sakopack; };
|
||||
|
|
Loading…
Reference in a new issue