This commit is contained in:
kalmenn 2025-07-07 13:52:45 +02:00
parent 6fbd9b2a6c
commit 991fd9fec4
Signed by: kalmenn
GPG key ID: F500055C44BC3834
6 changed files with 158 additions and 59 deletions

View file

@ -2,7 +2,7 @@
description = "Nixos modules for the pterodactyl game server panel";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
nixpkgs.url = github:nixos/nixpkgs?ref=nixos-unstable;
};
outputs = { self, nixpkgs }: {
@ -11,9 +11,14 @@
);
packages = nixpkgs.lib.genAttrs [ "x86_64-linux" ] (
system: nixpkgs.lib.genAttrs [ "pterodactyl" "php" "wings" ] (
package: import ./packages/${package}.nix { pkgs = import nixpkgs { inherit system; }; };
)
});
system: let
pkgs = import nixpkgs { inherit system; };
in rec {
wings = import ./packages/wings.nix { inherit pkgs; };
pterodactyl = import ./packages/pterodactyl.nix { inherit pkgs; };
php = import ./packages/php.nix { inherit pkgs; };
composer = import ./packages/composer.nix { inherit pkgs php; };
}
);
};
}