Files
PVV-DNS/flake.nix
2025-02-17 21:45:17 +01:00

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;
});
};
}