kubernetes-deployments/nixng-configurations/default.nix

32 lines
673 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;
};
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;
})