68e384a77f
Because modules are not called via the default depot setup (for now ...), this introduces a dummy module that stores the depot tree itself in the module configurations. This makes it possible to write modules that use packages from the depot.
16 lines
332 B
Nix
16 lines
332 B
Nix
# This module makes it possible to get at the depot from "proper"
|
|
# NixOS modules.
|
|
#
|
|
# It needs to be included and configured in each system like this:
|
|
#
|
|
# {
|
|
# imports = [ ../modules/depot.nix ];
|
|
# inherit depot;
|
|
# }
|
|
{ lib, ... }:
|
|
|
|
{
|
|
options.depot = with lib; mkOption {
|
|
description = "tazjin's imported monorepo";
|
|
};
|
|
}
|