https://github.com/gaelreyrol/nixpkgs-azerothcore
Automated, pre-built packages for AzerothCore for NixOS.
https://github.com/gaelreyrol/nixpkgs-azerothcore
Last synced: 3 months ago
JSON representation
Automated, pre-built packages for AzerothCore for NixOS.
- Host: GitHub
- URL: https://github.com/gaelreyrol/nixpkgs-azerothcore
- Owner: gaelreyrol
- Created: 2023-07-03T21:46:11.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-07T15:01:26.000Z (about 1 year ago)
- Last Synced: 2024-04-07T16:23:46.154Z (about 1 year ago)
- Language: Nix
- Homepage:
- Size: 77.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
Awesome Lists containing this project
README
# nixpkgs-azerothcore
[](https://github.com/gaelreyrol/nixpkgs-azerothcore/actions/workflows/ci.yml)
Automated, pre-built packages for AzerothCore for NixOS.
> **Note**
> This repository is mostly for fun, to learn Nix packaging and distribution.> **Warning**
> Flake feature is the only supported usage method.
> Linux x86_64 is the only supported platform.## Flake Usage
In your `flake.nix`:
```nix
{
inputs = {
nixpkgs-azerothcore.url = "github:gaelreyrol/nixpkgs-azerothcore";# only needed if you use as a package set:
nixpkgs-azerothcore.inputs.nixpkgs.follows = "nixpkgs";
};outputs = inputs: {
nixosConfigurations."myserver" =
let
system = "x86_64-linux";
in nixpkgs.lib.nixosSystem {
inherit system;
modules = [({pkgs, config, ... }: {
config = {
nix.settings = {
# add binary caches
trusted-public-keys = [
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"nixpkgs-azerothcore.cachix.org-1:GYsuj+qDDx53K+4IO5DuGQdocNzKgxOf1aAk5GPWLes="
];
substituters = [
"https://cache.nixos.org"
"https://nixpkgs-azerothcore.cachix.org"
];
};# add the overlay
nixpkgs.overlays = [ inputs.nixpkgs-azerothcore.overlay ];# install the main package
environment.systemPackages = [
pkgs.azerothcore.server-wotlk
pkgs.azerothcore.client-data-wotlk
];
};
})];
};
};
}
```