2024-12-19 19:34:55 +00:00
|
|
|
{
|
|
|
|
self,
|
|
|
|
flake-utils,
|
|
|
|
nixng,
|
|
|
|
nixpkgs,
|
2024-12-19 20:32:21 +00:00
|
|
|
nixpkgs-jellyseerr,
|
2024-12-19 19:34:55 +00:00
|
|
|
...
|
|
|
|
}:
|
|
|
|
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 20:32:21 +00:00
|
|
|
jellyseerr = ./jellyseerr.nix;
|
2024-12-21 12:57:19 +00:00
|
|
|
radarr = ./radarr.nix;
|
2024-12-23 14:54:56 +00:00
|
|
|
sonarr = ./sonarr.nix;
|
2024-12-23 16:42:04 +00:00
|
|
|
bazarr = ./bazarr.nix;
|
2024-12-23 17:58:03 +00:00
|
|
|
prowlarr = ./prowlarr.nix;
|
2024-12-19 19:34:55 +00:00
|
|
|
};
|
|
|
|
in {
|
|
|
|
nixngConfigurations = builtins.mapAttrs (name: configFile:
|
|
|
|
nixng.nglib.makeSystem {
|
|
|
|
inherit nixpkgs system;
|
|
|
|
name = "nixng-${name}";
|
2024-12-19 20:32:21 +00:00
|
|
|
specialArgs = {
|
|
|
|
inherit nixpkgs-jellyseerr;
|
|
|
|
inherit (self) globals;
|
|
|
|
};
|
2024-12-19 19:34:55 +00:00
|
|
|
config = import configFile;
|
|
|
|
})
|
|
|
|
images;
|
|
|
|
})
|