kubernetes-deployments/nixng-configurations/default.nix

25 lines
483 B
Nix
Raw Normal View History

2024-12-19 19:34:55 +00:00
{
self,
flake-utils,
nixng,
nixpkgs,
...
}:
flake-utils.lib.eachDefaultSystem (system: let
images = {
dnsmasq = ./dnsmasq.nix;
2024-12-19 20:07:30 +00:00
attic = ./attic.nix;
ntfy = ./ntfy.nix;
radicale = ./radicale.nix;
2024-12-19 19:34:55 +00:00
};
in {
nixngConfigurations = builtins.mapAttrs (name: configFile:
nixng.nglib.makeSystem {
inherit nixpkgs system;
name = "nixng-${name}";
specialArgs = {inherit (self) globals;};
config = import configFile;
})
images;
})