format all
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
{ config, lib, ... }:
|
||||
with lib;
|
||||
let cfg = config.custom.nix.index;
|
||||
in {
|
||||
options.custom.nix.index = { enable = mkEnableOption "Enables nix index"; };
|
||||
let
|
||||
cfg = config.custom.nix.index;
|
||||
in
|
||||
{
|
||||
options.custom.nix.index = {
|
||||
enable = mkEnableOption "Enables nix index";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.command-not-found.enable = false;
|
||||
|
||||
Reference in New Issue
Block a user