51 lines
1.1 KiB
Nix
51 lines
1.1 KiB
Nix
{
|
|
self,
|
|
flake-utils,
|
|
nixng,
|
|
nginx,
|
|
blog,
|
|
nixpkgs,
|
|
nixpkgs-jellyseerr,
|
|
nixpkgs-bazarr,
|
|
nixpkgs-radicale,
|
|
...
|
|
}:
|
|
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;
|
|
blog = ./blog.nix;
|
|
};
|
|
in {
|
|
nixngConfigurations = builtins.mapAttrs (name: configFile:
|
|
nixng.nglib.makeSystem {
|
|
inherit nixpkgs system;
|
|
name = "nixng-${name}";
|
|
config = import configFile;
|
|
|
|
specialArgs = {
|
|
inherit nginx blog;
|
|
inherit (self) globals;
|
|
};
|
|
|
|
extraModules = [
|
|
{
|
|
nixpkgs.overlays = [
|
|
(final: _prev: {
|
|
bazarr = nixpkgs-bazarr.legacyPackages.${system}.bazarr;
|
|
jellyseerr = nixpkgs-jellyseerr.legacyPackages.${system}.jellyseerr;
|
|
radicale = nixpkgs-radicale.legacyPackages.${system}.radicale;
|
|
})
|
|
];
|
|
}
|
|
];
|
|
})
|
|
images;
|
|
})
|