nix-index

This commit is contained in:
Anthony Cicchetti 2023-04-19 18:16:07 -04:00
parent 5c8e913295
commit 8e036a173f
3 changed files with 28 additions and 1 deletions

View file

@ -135,6 +135,26 @@
"type": "github"
}
},
"nix-index-database": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1681591833,
"narHash": "sha256-lW+xOELafAs29yw56FG4MzNOFkh8VHC/X/tRs1wsGn8=",
"owner": "Mic92",
"repo": "nix-index-database",
"rev": "68ec961c51f48768f72d2bbdb396ce65a316677e",
"type": "github"
},
"original": {
"owner": "Mic92",
"repo": "nix-index-database",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1677534593,
@ -231,6 +251,7 @@
"inputs": {
"devenv": "devenv",
"home-manager": "home-manager",
"nix-index-database": "nix-index-database",
"nixpkgs": "nixpkgs_2"
}
}

View file

@ -11,9 +11,13 @@
devenv = {
url = "github:cachix/devenv/latest";
};
nix-index-database = {
url = "github:Mic92/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { nixpkgs, home-manager, devenv, ... }:
outputs = { nixpkgs, home-manager, devenv, nix-index-database, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
@ -25,6 +29,7 @@
# the path to your home.nix.
modules = [
{ home.packages = [devenv.packages."${system}".devenv]; }
nix-index-database.hmModules.nix-index
./home.nix
];

View file

@ -70,6 +70,7 @@
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
programs.zsh.enable = true;
programs.nix-index.enable = true;
imports = [
./modules/packages