summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorChristian <[email protected]>2026-01-01 18:45:23 -0600
committerChristian <[email protected]>2026-01-01 18:47:15 -0600
commit44adb7d61e71370acb7d839e6b76270f9a081939 (patch)
treeabf080cc3bafb9b29c884afe8a030c9fd16aad03 /flake.nix
parent47c9f3299fc9668e55d7080572a6f49277fee66f (diff)
Command not found: nix-index
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 944af4c..c7d4742 100644
--- a/flake.nix
+++ b/flake.nix
@@ -9,9 +9,12 @@
inputs.nixpkgs.follows = "nixpkgs";
};
+
+ nix-index-database.url = "github:nix-community/nix-index-database";
+ nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
};
- outputs = { self, nixpkgs, home-manager, ... }@inputs: {
+ outputs = { self, nixpkgs, home-manager, nix-index-database, ... }@inputs: {
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
@@ -19,6 +22,8 @@
modules = [
./configuration.nix
+ nix-index-database.nixosModules.nix-index
+
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;