Use nix-index

This commit is contained in:
2024-02-22 00:34:45 +00:00
parent 54437e4c96
commit 1d6edf2a0a
4 changed files with 34 additions and 1 deletions
Generated
+21
View File
@@ -234,6 +234,26 @@
"type": "github"
}
},
"nix-index-database": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1708225687,
"narHash": "sha256-NJBDfvknI26beOFmjO2coeJMTTUCCtw2Iu+rvJ1Zb9k=",
"owner": "nix-community",
"repo": "nix-index-database",
"rev": "17352eb241a8d158c4ac523b19d8d2a6c8efe127",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nix-index-database",
"type": "github"
}
},
"nixos-hardware": {
"locked": {
"lastModified": 1708091350,
@@ -273,6 +293,7 @@
"home-manager": "home-manager",
"impermanence": "impermanence",
"neovim-nightly": "neovim-nightly",
"nix-index-database": "nix-index-database",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs"
}
+6
View File
@@ -9,6 +9,10 @@
};
impermanence.url = "github:nix-community/impermanence";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
nix-index-database = {
url = "github:nix-community/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
neovim-nightly = {
url = "github:nix-community/neovim-nightly-overlay";
inputs.nixpkgs.follows = "nixpkgs";
@@ -40,6 +44,7 @@
flood,
impermanence,
nixos-hardware,
nix-index-database,
...
} @ inputs: let
user = "zoriya";
@@ -82,6 +87,7 @@
imports = [
./modules/misc/home.nix
(./modules + "/${de}/home.nix")
nix-index-database.hmModules.nix-index
];
};
};
+1
View File
@@ -36,6 +36,7 @@
programs.zsh.enable = true;
environment.shells = with pkgs; [zsh];
programs.command-not-found.enable = false;
services.locate = {
enable = true;
+6 -1
View File
@@ -45,6 +45,12 @@ in {
# config.theme = "base16";
# };
programs.command-not-found.enable = false;
programs.nix-index = {
enable = true;
enableZshIntegration = true;
};
programs.less.enable = true;
programs.zsh = {
@@ -140,7 +146,6 @@ in {
"git"
"copypath"
"copyfile"
"command-not-found"
];
};
};