mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
Remove comma and the nix-index-database
This commit is contained in:
parent
4f4e5c93f4
commit
1b06f829c3
5 changed files with 0 additions and 50 deletions
|
|
@ -1,22 +0,0 @@
|
|||
{
|
||||
config,
|
||||
inputs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.myConfig.comma;
|
||||
in
|
||||
{
|
||||
imports = [ inputs.nix-index-database.nixosModules.nix-index ];
|
||||
|
||||
options.myConfig.comma.enable = lib.mkEnableOption "";
|
||||
|
||||
config = {
|
||||
programs = {
|
||||
command-not-found.enable = !cfg.enable;
|
||||
nix-index.enable = cfg.enable;
|
||||
nix-index-database.comma.enable = cfg.enable;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue