mirror of
https://codeberg.org/polyteknisk-radiogruppe/the_prg_server_configuration.git
synced 2026-06-13 18:28:55 +02:00
Refactor NixOS Minecraft configuration to use overlays for improved module management
This commit is contained in:
parent
497dfe1a6b
commit
397bb2d6ce
1 changed files with 4 additions and 2 deletions
|
|
@ -70,12 +70,14 @@
|
|||
modules = [./nix-system-configs/modules/system/mail-server.nix];
|
||||
};
|
||||
|
||||
"nixos-minecraft" = nixpkgs.lib.nixosSystem {
|
||||
"nixos-minecraft" = (import inputs.nixpkgs {
|
||||
inherit system;
|
||||
overlays = [ inputs.nix-minecraft.overlay ];
|
||||
}).lib.nixosSystem {
|
||||
inherit system;
|
||||
modules = [
|
||||
./nix-system-configs/modules/system/minecraft.nix
|
||||
nix-minecraft.nixosModules.minecraft-servers
|
||||
{nixpkgs.overlays = [inputs.nix-minecraft.overlay];}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue