oh my god
This commit is contained in:
parent
e323a0167e
commit
a204cdee26
|
@ -2,10 +2,10 @@
|
||||||
with lib;
|
with lib;
|
||||||
let cfg = config.void.server.game.minecraft;
|
let cfg = config.void.server.game.minecraft;
|
||||||
in {
|
in {
|
||||||
|
imports = [ inputs.nix-minecraft.nixosModules.minecraft-servers ];
|
||||||
options.void.server.game.minecraft = { enable = mkEnableOption false; };
|
options.void.server.game.minecraft = { enable = mkEnableOption false; };
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
imports = [ inputs.nix-minecraft.nixosModules.minecraft-servers ];
|
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
overlays = [ inputs.nix-minecraft.overlay ];
|
overlays = [ inputs.nix-minecraft.overlay ];
|
||||||
config.allowUnfreePredicate = pkg:
|
config.allowUnfreePredicate = pkg:
|
||||||
|
|
Loading…
Reference in a new issue