22 lines
404 B
Nix
22 lines
404 B
Nix
|
{
|
||
|
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;
|
||
|
})
|