nix-config/home/nix-index/default.nix

14 lines
250 B
Nix
Raw Permalink Normal View History

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