release: yet another Nix Minecraft Module

This commit is contained in:
Peritia 2025-09-26 11:42:25 +02:00
parent 9fdb947c2a
commit 839bb7de43
13 changed files with 1621 additions and 1 deletions

34
example/small/flake.nix Normal file
View file

@ -0,0 +1,34 @@
{
description = "EXAMPLE - Flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
# your own imports
nyx-minecraft.url = "github:Peritia-System/Nyx-Minecraft";
nyx-minecraft.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = inputs @ {
self,
nixpkgs,
nix-minecraft,
...
}: {
nixosConfigurations = {
yourSystem = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
inherit inputs self;
host = "yourSystem";
};
modules = [
nixos95.nixosModules.default
./configuration.nix
];
};
};
}