24 lines
483 B
Nix
24 lines
483 B
Nix
{
|
|
self,
|
|
flake-utils,
|
|
nixng,
|
|
nixpkgs,
|
|
...
|
|
}:
|
|
flake-utils.lib.eachDefaultSystem (system: let
|
|
images = {
|
|
dnsmasq = ./dnsmasq.nix;
|
|
attic = ./attic.nix;
|
|
ntfy = ./ntfy.nix;
|
|
radicale = ./radicale.nix;
|
|
};
|
|
in {
|
|
nixngConfigurations = builtins.mapAttrs (name: configFile:
|
|
nixng.nglib.makeSystem {
|
|
inherit nixpkgs system;
|
|
name = "nixng-${name}";
|
|
specialArgs = {inherit (self) globals;};
|
|
config = import configFile;
|
|
})
|
|
images;
|
|
})
|