phoebe/modules/default.nix
Peter Jones 4964d95974
rails: Support background workers and other Rails services/workers
The new `services' option is used to request additional processes be
run in the background with the same environment as the main Rails
process.
2019-01-04 11:17:40 -07:00

27 lines
407 B
Nix

{ config, lib, pkgs, ...}:
with lib;
let
libFiles = [
../lib/keys.nix
../lib/shell.nix
];
loadLib = path: import path { inherit lib pkgs; };
libs = foldr (a: b: recursiveUpdate (loadLib a) b) {} libFiles;
in
{
imports = [
./security
./services
];
options.phoebe.lib = mkOption {
type = types.attrs;
default = libs;
internal = true;
readOnly = true;
};
}