24 lines
737 B
Nix
24 lines
737 B
Nix
{ distribution ? null
|
|
, services ? null
|
|
, system ? builtins.currentSystem
|
|
, pkgs ? import <nixpkgs> { inherit system; }
|
|
, utils ? null
|
|
}:
|
|
|
|
let
|
|
callPackage = pkgs.lib.callPackageWith (pkgs // self);
|
|
|
|
self = {
|
|
PostgresDB = callPackage ./PostgresDB {};
|
|
|
|
CaddyConfig = callPackage ./caddy/config.nix {inherit utils;};
|
|
CaddyService = callPackage ./caddy/unit.nix {inherit utils;};
|
|
CaddySiteConfig = callPackage ./caddy/siteconfig.nix {inherit utils;};
|
|
|
|
TtrssEnvironment = callPackage ./Ttrss/environment.nix {};
|
|
TtrssConfig = callPackage ./Ttrss/config.nix {};
|
|
TtrssUpdateService = callPackage ./Ttrss/update.nix {inherit utils;};
|
|
TtrssUpgradeDBService = callPackage ./Ttrss/dbupgrade.nix {};
|
|
};
|
|
in
|
|
self
|