mirror of
https://codeberg.org/polyteknisk-radiogruppe/the_prg_server_configuration.git
synced 2026-06-13 18:28:55 +02:00
Implement Minecraft server
This commit is contained in:
parent
5a99568c60
commit
ec50a86329
7 changed files with 324 additions and 11 deletions
13
flake.nix
13
flake.nix
|
|
@ -3,11 +3,13 @@
|
|||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
|
||||
nix-minecraft.url = "github:Infinidoge/nix-minecraft";
|
||||
};
|
||||
|
||||
outputs = {
|
||||
outputs = inputs @ {
|
||||
self,
|
||||
nixpkgs,
|
||||
nix-minecraft,
|
||||
...
|
||||
}: let
|
||||
system = "x86_64-linux";
|
||||
|
|
@ -62,6 +64,15 @@
|
|||
inherit system;
|
||||
modules = [./nix-system-configs/modules/system/mail-server.nix];
|
||||
};
|
||||
|
||||
"nixos-minecraft" = nixpkgs.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