kubernetes-deployments/nixng-configurations/default.nix

33 lines
704 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;
sonarr = ./sonarr.nix;
bazarr = ./bazarr.nix;
prowlarr = ./prowlarr.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;
})