pterodactyl-wings-nix provides a Nix package for Pterodactyl and Pelican wings, along with a NixOS module for fully declarative deployments.
- pterodactyl-wings
- pelican-wings
Module Options
- Type:
Boolean
- Description: Enable the Wings daemon.
- Type:
Package
- Description: The package to use for the Wings daemon.
- Default:
self.packages.${pkgs.stdenv.hostPlatform.system}.pterodactyl-wings
- Type:
String
- Description: The user to run the Wings daemon as.
- Default:
pterodactyl
- Type:
String
- Description: The group to run the Wings daemon as.
- Default:
pterodactyl
- Type:
Path or Null
- Description: The file to store the Wings daemon token. This must be a path on the host and can be kept secure, for example, using agenix.
- Default:
null
- Type:
Path or Null
- Description: Optional path to an existing Wings daemon configuration file.
- Default:
null
- Type:
Format or Null
- Description: The declarative configuration for the Wings daemon.
- Default:
null
- Additional Info: Refer to Wings Configuration Options for available settings.
Module Usage Example
security.acme.certs."wings.example.com".group = config.services.wings.group;
services.wings = {
enable = true;
tokenFile = "/path/to/wings/token"; # Use a secure method like agenix to store this as a secret
config = {
uuid = "NODE-UUID-FROM-PANEL";
token_id = "NODE-TOKEN-ID-FROM-PANEL";
remote = "PANEL-URL";
api = {
host = "0.0.0.0";
port = 8080;
ssl = {
enabled = true;
cert = "/var/lib/acme/wings.example.com/fullchain.pem";
key = "/var/lib/acme/wings.example.com/privkey.pem";
};
};
};
};