24 lines
340 B
Nix
24 lines
340 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
cfg = config.programs.nih;
|
|
in {
|
|
imports = [
|
|
./cli.nix
|
|
];
|
|
options.programs.nih = with lib;
|
|
with lib.types; {
|
|
enable = mkEnableOption "";
|
|
host = mkOption {
|
|
type = str;
|
|
};
|
|
flakeDir = mkOption {
|
|
type = str;
|
|
};
|
|
};
|
|
config = with lib; mkIf cfg.enable {};
|
|
}
|