kubernetes-deployments/nixng-configurations/default.nix
2024-12-21 13:57:19 +01:00

30 lines
619 B
Nix

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