add wings package and module

This commit is contained in:
2026-01-30 08:30:35 +04:00
commit ca25e86b63
5 changed files with 165 additions and 0 deletions

19
flake.nix Normal file
View File

@@ -0,0 +1,19 @@
{
description = "Pterodactyl Wings for NixOS";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachSystem ["x86_64-linux" "aarch64-linux"] (system:
let
pkgs = import nixpkgs { inherit system; };
in
{
packages.wings = pkgs.callPackage ./pkgs/wings { };
nixosModules.wings = import ./modules/wings { };
}
);
}