1
0
Fork 0
selfhostblocks/all-packages.nix

38 lines
1.5 KiB
Nix
Raw Normal View History

{ distribution ? null
, services ? null
, system ? builtins.currentSystem
, pkgs ? import <nixpkgs> { inherit system; }
2022-05-20 05:00:12 +02:00
, utils ? null
}:
let
callPackage = pkgs.lib.callPackageWith (pkgs // self);
self = rec {
2022-09-12 21:31:27 +02:00
PostgresDB = callPackage ./postgresdb {};
2022-09-14 08:47:49 +02:00
HaproxyConfig = callPackage ./haproxy/config.nix {inherit utils;};
HaproxyService = callPackage ./haproxy/unit.nix {inherit utils;};
mkHaproxySiteConfig = callPackage ./haproxy/siteconfig.nix {};
2022-09-09 08:26:33 +02:00
CaddyConfig = callPackage ./caddy/config.nix {inherit utils;};
CaddyService = callPackage ./caddy/unit.nix {inherit utils;};
CaddySiteConfig = callPackage ./caddy/siteconfig.nix {inherit utils;};
mkCaddySiteConfig = callPackage ./caddy/mksiteconfig.nix {inherit CaddySiteConfig;};
2022-09-09 08:26:33 +02:00
2022-09-15 05:46:14 +02:00
PHPConfig = callPackage ./php/config.nix {inherit utils;};
2022-09-12 21:31:27 +02:00
PHPFPMConfig = callPackage ./php-fpm/config.nix {inherit utils;};
PHPFPMService = callPackage ./php-fpm/unit.nix {inherit utils;};
PHPFPMSiteConfig = callPackage ./php-fpm/siteconfig.nix {inherit utils;};
mkPHPFPMSiteConfig = callPackage ./php-fpm/mksiteconfig.nix {inherit PHPFPMSiteConfig;};
2022-09-10 08:15:03 +02:00
2022-09-12 21:31:27 +02:00
TtrssEnvironment = callPackage ./ttrss/environment.nix {};
TtrssConfig = callPackage ./ttrss/config.nix {};
TtrssUpdateService = callPackage ./ttrss/update.nix {inherit utils;};
TtrssUpgradeDBService = callPackage ./ttrss/dbupgrade.nix {};
2022-09-15 05:46:14 +02:00
TtrssPHPNormalizeHeaders = callPackage ./ttrss/normalize-headers.nix {inherit utils;};
};
in
self