mirror of
https://github.com/tuxdotrs/nix-config.git
synced 2026-09-20 00:59:04 +05:30
feat(core): add nix-index-database module
This commit is contained in:
13
modules/nixos/core/nix-index.nix
Normal file
13
modules/nixos/core/nix-index.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{ inputs, ... }:
|
||||
{
|
||||
flake.modules.nixos.core = { pkgs, ... }: {
|
||||
imports = [
|
||||
inputs.nix-index-database.nixosModules.default
|
||||
];
|
||||
|
||||
programs = {
|
||||
nix-index.package = pkgs.nix-index-small;
|
||||
nix-index-database.comma.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user