28 lines
585 B
Nix
28 lines
585 B
Nix
{
|
|
description = "Nyota - PVV DNS";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
|
|
dns.url = "github:nix-community/dns.nix";
|
|
};
|
|
|
|
outputs = { nixpkgs, dns, ... }@inputs:
|
|
let
|
|
inherit (nixpkgs) lib;
|
|
systems = [
|
|
"x86_64-linux"
|
|
"aarch64-linux"
|
|
"aarch64-darwin"
|
|
];
|
|
forAllSystems = f: lib.genAttrs systems f;
|
|
in {
|
|
packages = forAllSystems (system: rec {
|
|
zoneConfig = nixpkgs.legacyPackages.${system}.callPackage ./zoneConfig.nix {
|
|
inherit dns;
|
|
};
|
|
default = zoneConfig;
|
|
});
|
|
};
|
|
}
|
|
|