2021-05-10 18:02:42 +02:00
|
|
|
{ config, lib, ... }:
|
|
|
|
let
|
|
|
|
cfg = config.my.home.nix-index;
|
|
|
|
in
|
|
|
|
{
|
2023-03-16 17:39:13 +01:00
|
|
|
options.my.home.nix-index = with lib; {
|
|
|
|
enable = my.mkDisableOption "nix-index configuration";
|
2021-05-10 18:02:42 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
config.programs.nix-index = lib.mkIf cfg.enable {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
}
|