1
0
Fork 0
selfhostblocks/all-packages.nix

29 lines
955 B
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 = {
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;};
2022-09-10 08:15:03 +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;};
TtrssEnvironment = callPackage ./Ttrss/environment.nix {};
2022-09-09 04:28:47 +02:00
TtrssConfig = callPackage ./Ttrss/config.nix {};
2022-05-20 05:00:12 +02:00
TtrssUpdateService = callPackage ./Ttrss/update.nix {inherit utils;};
TtrssUpgradeDBService = callPackage ./Ttrss/dbupgrade.nix {};
};
in
self