- flake input atrocore-docker rev-pinned (e1e9bed) - pkgs/atropim-image: atropim-build/atropim-push scripts + 2-stage podman build (vendor pdf target + entrypoint wrapper) - entrypoint writes ATRO_DB_* to data/config.php at runtime, guarded by isInstalled (idempotent); no DB credentials in layers - devShell documents build/push commands and ENV variables
42 lines
1.3 KiB
Nix
42 lines
1.3 KiB
Nix
{inputs, ...}: {
|
|
# This one brings our custom packages from the 'pkgs' directory
|
|
additions = final: prev:
|
|
(import ../pkgs {
|
|
pkgs = final;
|
|
atrocore-docker = inputs.atrocore-docker;
|
|
})
|
|
// {
|
|
zugferd-service = inputs.zugferd-service.packages.${prev.stdenv.hostPlatform.system}.default;
|
|
};
|
|
|
|
# This one contains whatever you want to overlay
|
|
# You can change versions, add patches, set compilation flags, anything really.
|
|
# https://nixos.wiki/wiki/Overlays
|
|
modifications = final: prev: {
|
|
# n8n = import ./mods/n8n.nix {inherit prev;};
|
|
snipe-it = import ./mods/snipe-it.nix {inherit prev;};
|
|
vivaldi = prev.vivaldi.override {
|
|
commandLineArgs = "--enable-features=UseOzonePlatform --ozone-platform=wayland";
|
|
};
|
|
# example = prev.example.overrideAttrs (oldAttrs: rec {
|
|
# ...
|
|
# });
|
|
};
|
|
|
|
stable-packages = final: _prev: {
|
|
stable = import inputs.nixpkgs {
|
|
system = final.stdenv.hostPlatform.system;
|
|
config.allowUnfree = true;
|
|
};
|
|
};
|
|
unstable-packages = final: _prev: {
|
|
unstable = import inputs.nixpkgs-unstable {
|
|
system = final.stdenv.hostPlatform.system;
|
|
config.allowUnfree = true;
|
|
};
|
|
};
|
|
# Flatten llm-agents packages into top-level pkgs namespace.
|
|
mkLlmAgentsOverlay = system: _final: _prev:
|
|
inputs.llm-agents.packages.${system} or {};
|
|
}
|