testing
This commit is contained in:
parent
6fbd9b2a6c
commit
9c273a6a84
6 changed files with 162 additions and 59 deletions
15
flake.nix
15
flake.nix
|
@ -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; };
|
||||
}
|
||||
);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue