2024-12-19 20:34:55 +01:00
|
|
|
{
|
|
|
|
self,
|
|
|
|
flake-utils,
|
|
|
|
nixng,
|
2024-12-31 11:29:29 +01:00
|
|
|
nginx,
|
|
|
|
blog,
|
2024-12-19 20:34:55 +01:00
|
|
|
nixpkgs,
|
2025-01-03 21:35:28 +01:00
|
|
|
nixpkgs-master,
|
2024-12-19 20:34:55 +01:00
|
|
|
...
|
|
|
|
}:
|
|
|
|
flake-utils.lib.eachDefaultSystem (system: let
|
|
|
|
images = {
|
|
|
|
dnsmasq = ./dnsmasq.nix;
|
2024-12-19 21:07:30 +01:00
|
|
|
attic = ./attic.nix;
|
|
|
|
ntfy = ./ntfy.nix;
|
|
|
|
radicale = ./radicale.nix;
|
2024-12-19 21:32:21 +01:00
|
|
|
jellyseerr = ./jellyseerr.nix;
|
2024-12-21 13:57:19 +01:00
|
|
|
radarr = ./radarr.nix;
|
2024-12-23 15:54:56 +01:00
|
|
|
sonarr = ./sonarr.nix;
|
2024-12-23 17:42:04 +01:00
|
|
|
bazarr = ./bazarr.nix;
|
2024-12-23 18:58:03 +01:00
|
|
|
prowlarr = ./prowlarr.nix;
|
2024-12-31 11:29:29 +01:00
|
|
|
blog = ./blog.nix;
|
2025-01-05 23:08:24 +01:00
|
|
|
deluge = ./deluge.nix;
|
2024-12-19 20:34:55 +01:00
|
|
|
};
|
|
|
|
in {
|
|
|
|
nixngConfigurations = builtins.mapAttrs (name: configFile:
|
|
|
|
nixng.nglib.makeSystem {
|
|
|
|
inherit nixpkgs system;
|
|
|
|
name = "nixng-${name}";
|
2024-12-29 16:43:40 +01:00
|
|
|
config = import configFile;
|
|
|
|
|
2024-12-19 21:32:21 +01:00
|
|
|
specialArgs = {
|
2024-12-31 11:29:29 +01:00
|
|
|
inherit nginx blog;
|
2024-12-19 21:32:21 +01:00
|
|
|
inherit (self) globals;
|
|
|
|
};
|
2024-12-29 16:43:40 +01:00
|
|
|
|
|
|
|
extraModules = [
|
2025-01-05 00:17:35 +01:00
|
|
|
self.nixngModules.ids
|
2025-01-04 11:22:05 +01:00
|
|
|
self.nixngModules.bazarr
|
|
|
|
self.nixngModules.radicale
|
|
|
|
self.nixngModules.jellyseerr
|
|
|
|
self.nixngModules.radarr
|
|
|
|
self.nixngModules.sonarr
|
|
|
|
self.nixngModules.prowlarr
|
2025-01-05 23:08:24 +01:00
|
|
|
self.nixngModules.deluge
|
2024-12-29 16:43:40 +01:00
|
|
|
{
|
|
|
|
nixpkgs.overlays = [
|
2025-01-11 22:55:42 +01:00
|
|
|
(_final: _prev: {
|
2025-01-03 21:35:28 +01:00
|
|
|
# From master branch
|
2025-02-10 22:51:18 +01:00
|
|
|
inherit (nixpkgs-master.legacyPackages.${system}) jellyseerr radicale bazarr prowlarr;
|
2024-12-29 16:43:40 +01:00
|
|
|
})
|
|
|
|
];
|
|
|
|
}
|
|
|
|
];
|
2024-12-19 20:34:55 +01:00
|
|
|
})
|
|
|
|
images;
|
|
|
|
})
|