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-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;
|
|
|
|
})
|