feat: Scaffold the nixos modules

The modules themselves don't work yet, but the flake does ! Yay !
(that was way too complicated wtf)
This commit is contained in:
kalmenn 2025-07-07 02:43:30 +02:00
parent 795019f467
commit 6fbd9b2a6c
Signed by: kalmenn
GPG key ID: F500055C44BC3834
6 changed files with 282 additions and 42 deletions

22
packages/wings.nix Normal file
View file

@ -0,0 +1,22 @@
{ pkgs }:
let
version = "1.11.13";
in pkgs.buildGoModule rec {
pname = "pterodactyl-wings";
version = "1.11.13";
src = pkgs.fetchFromGitHub {
owner = "pterodactyl";
repo = "wings";
rev = "v${version}";
sha256 = "sha256-UpYUHWM2J8nH+srdKSpFQEaPx2Rj2+YdphV8jJXcoBU=";
};
vendorHash = "sha256-eWfQE9cQ7zIkITWwnVu9Sf9vVFjkQih/ZW77d6p/Iw0=";
subPackages = [ "." ];
ldflags = [
"-X github.com/pterodactyl/wings/system.Version=${version}"
];
}