Reconfigure Minecraft server to use nix-minecraft
This commit is contained in:
parent
8ab0c4b595
commit
35a65d995c
5 changed files with 197 additions and 281 deletions
|
@ -29,9 +29,11 @@
|
|||
url = "github:nix-community/NixOS-WSL/main";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
nix-minecraft.url = "github:Infinidoge/nix-minecraft";
|
||||
};
|
||||
|
||||
nixConfig = {
|
||||
download-buffer-size = 524288000; # 500 MB
|
||||
extra-substituters = [ "https://nix-community.cachix.org" ];
|
||||
extra-trusted-public-keys = [
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
|
@ -43,6 +45,7 @@
|
|||
# Desktop computer
|
||||
totsugeki = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
./common/nixos.nix
|
||||
./hosts/totsugeki/nixos
|
||||
|
@ -69,12 +72,14 @@
|
|||
# Home server
|
||||
greatyamada = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
./common/nixos.nix
|
||||
./hosts/greatyamada/nixos
|
||||
./hosts/greatyamada/services
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
inputs.nix-minecraft.nixosModules.minecraft-servers
|
||||
{
|
||||
home-manager = {
|
||||
backupFileExtension = "bak";
|
||||
|
@ -93,6 +98,7 @@
|
|||
# WSL development system
|
||||
mizuki = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
./hosts/mizuki/nixos.nix
|
||||
inputs.nixos-wsl.nixosModules.default
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue