1
0
Fork 0
selfhostblocks/all-packages.nix

31 lines
1.1 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-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-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 {};
};
in
self