pterodactyl/flake.nix

21 lines
766 B
Nix

{
description = "Pterodactyl Wings";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
};
outputs = { self, nixpkgs }:
{
packages."x86_64-linux".pterodactyl-wings = nixpkgs.legacyPackages."x86_64-linux".callPackage ./pkgs/wings.nix { };
packages."x86_64-linux".default = self.packages."x86_64-linux".pterodactyl-wings;
packages."aarch64-linux".pterodactyl-wings = nixpkgs.legacyPackages."aarch64-linux".callPackage ./pkgs/wings.nix { };
packages."aarch64-linux".default = self.packages."aarch64-linux".pterodactyl-wings;
nixosModules.pterodactyl-panel = ./modules/panel.nix;
nixosModules.pterodactyl-wings = ./modules/wings.nix;
nixosModules.default = self.nixosModules.pterodactyl-wings;
};
}