mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41:34 +01:00
16 lines
359 B
Nix
16 lines
359 B
Nix
{
|
|
inputs,
|
|
config,
|
|
lib,
|
|
...
|
|
}: {
|
|
imports = [inputs.nix-index-database.nixosModules.nix-index];
|
|
|
|
options.myConfig.comma.enable = lib.mkEnableOption "";
|
|
|
|
config = lib.mkIf config.myConfig.comma.enable {
|
|
programs.command-not-found.enable = false;
|
|
programs.nix-index.enable = true;
|
|
programs.nix-index-database.comma.enable = true;
|
|
};
|
|
}
|