Compare commits

..

2 Commits

Author SHA1 Message Date
m3tam3re a87d9510bd Merge branch 'master' of code.m3ta.dev:m3tam3re/m3ta-home 2026-05-11 19:22:18 +02:00
m3tam3re 9acb5c2370 feat: nix-index 2026-05-11 19:21:57 +02:00
3 changed files with 26 additions and 2 deletions
+1
View File
@@ -9,6 +9,7 @@
./hermes-remote.nix
./lf.nix
./nitch.nix
./nix-index.nix
./packages.nix
./television.nix
./zellij.nix
+24
View File
@@ -0,0 +1,24 @@
# nix-index — Files database for nixpkgs
{
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.base.cliTools.lf;
in {
# Enabled by default — base modules are always-on.
options.base.nix-index.lf.enable = (mkEnableOption "enable nix-index files database") // {default = true;};
config = mkIf cfg.enable {
home.packages = [pkgs.comma];
programs.nix-index = {
enable = true;
enableBashIntegration = true;
enableFishIntegration = true;
enableNushellIntegration = true;
};
};
}
+1 -2
View File
@@ -24,11 +24,10 @@ in {
# Nix
alejandra
comma
nixd
nix-diff
nix-index
nix-update
nix-tree
# Dev tools
bc