1
0
Fork 0
selfhostblocks/all-packages.nix

67 lines
3.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-10-04 09:08:51 +02:00
mkPostgresDB = callPackage ./postgresdb/mkdefault.nix {inherit PostgresDB;};
2022-09-14 08:47:49 +02:00
HaproxyConfig = callPackage ./haproxy/config.nix {inherit utils;};
2022-10-04 09:08:51 +02:00
mkHaproxyConfig = callPackage ./haproxy/mkconfig.nix {inherit HaproxyConfig;};
2022-09-14 08:47:49 +02:00
HaproxyService = callPackage ./haproxy/unit.nix {inherit utils;};
2022-10-04 09:08:51 +02:00
mkHaproxyService = callPackage ./haproxy/mkunit.nix {inherit HaproxyService;};
2022-09-14 08:47:49 +02:00
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-29 08:37:24 +02:00
NginxService = callPackage ./nginx/unit.nix {inherit utils;};
2022-10-04 09:08:51 +02:00
mkNginxService = callPackage ./nginx/mkunit.nix {inherit NginxService;};
2022-09-29 08:37:24 +02:00
NginxSiteConfig = callPackage ./nginx/siteconfig.nix {inherit utils;};
mkNginxSiteConfig = callPackage ./nginx/mksiteconfig.nix {inherit NginxSiteConfig;};
2022-09-15 05:46:14 +02:00
PHPConfig = callPackage ./php/config.nix {inherit utils;};
2022-10-04 09:08:51 +02:00
mkPHPSiteConfig = callPackage ./php/siteconfig.nix {inherit PHPConfig;};
2022-09-15 05:46:14 +02:00
2022-09-12 21:31:27 +02:00
PHPFPMConfig = callPackage ./php-fpm/config.nix {inherit utils;};
2022-10-04 09:08:51 +02:00
mkPHPFPMConfig = callPackage ./php-fpm/mkconfig.nix {inherit PHPFPMConfig;};
2022-09-12 21:31:27 +02:00
PHPFPMService = callPackage ./php-fpm/unit.nix {inherit utils;};
2022-10-04 09:08:51 +02:00
mkPHPFPMService = callPackage ./php-fpm/mkunit.nix {inherit PHPFPMService;};
2022-09-12 21:31:27 +02:00
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-10-09 08:52:41 +02:00
KeycloakConfig = callPackage ./keycloak/config.nix {inherit utils;};
mkKeycloakConfig = callPackage ./keycloak/mkconfig.nix {inherit KeycloakConfig;};
KeycloakService = callPackage ./keycloak/unit.nix {inherit utils;};
mkKeycloakService = callPackage ./keycloak/mkunit.nix {inherit KeycloakService;};
2022-12-18 06:38:22 +01:00
mkKeycloakHaproxyService = callPackage ./keycloak-haproxy/unit.nix {inherit utils;};
KeycloakCliConfig = callPackage ./keycloak-cli-config/config.nix {inherit utils;};
mkKeycloakCliConfig = callPackage ./keycloak-cli-config/mkconfig.nix {inherit KeycloakCliConfig;};
KeycloakCliService = callPackage ./keycloak-cli-config/unit.nix {inherit utils;};
mkKeycloakCliService = callPackage ./keycloak-cli-config/mkunit.nix {inherit KeycloakCliService;};
2022-09-12 21:31:27 +02:00
TtrssEnvironment = callPackage ./ttrss/environment.nix {};
TtrssConfig = callPackage ./ttrss/config.nix {};
2022-10-04 09:08:51 +02:00
mkTtrssConfig = callPackage ./ttrss/mkconfig.nix {inherit TtrssConfig;};
2022-09-12 21:31:27 +02:00
TtrssUpdateService = callPackage ./ttrss/update.nix {inherit utils;};
2022-10-04 09:08:51 +02:00
mkTtrssUpdateService = callPackage ./ttrss/mkupdate.nix {inherit TtrssUpdateService;};
2022-09-12 21:31:27 +02:00
TtrssUpgradeDBService = callPackage ./ttrss/dbupgrade.nix {};
2022-10-04 09:08:51 +02:00
mkTtrssUpgradeDBService = callPackage ./ttrss/mkdbupgrade.nix {inherit TtrssUpgradeDBService;};
2022-09-15 05:46:14 +02:00
TtrssPHPNormalizeHeaders = callPackage ./ttrss/normalize-headers.nix {inherit utils;};
2022-10-04 09:08:51 +02:00
mkTtrssPHPNormalizeHeaders = callPackage ./ttrss/mk-normalize-headers.nix {inherit TtrssPHPNormalizeHeaders;};
mkVaultwardenWeb = callPackage ./vaultwarden/web.nix {inherit utils;};
mkVaultwardenService = callPackage ./vaultwarden/unit.nix {inherit utils;};
};
in
self