Build Dnsmasq with nix-snapshotter

This commit is contained in:
Pim Kunis 2024-12-19 20:34:55 +01:00
parent 782b2e1c45
commit ab3a068066
9 changed files with 165 additions and 58 deletions

View file

@ -0,0 +1,21 @@
{
self,
flake-utils,
nixng,
nixpkgs,
...
}:
flake-utils.lib.eachDefaultSystem (system: let
images = {
dnsmasq = ./dnsmasq.nix;
};
in {
nixngConfigurations = builtins.mapAttrs (name: configFile:
nixng.nglib.makeSystem {
inherit nixpkgs system;
name = "nixng-${name}";
specialArgs = {inherit (self) globals;};
config = import configFile;
})
images;
})