Add nix-index-database
to configs
This commit is contained in:
parent
703187a639
commit
7e48edb7c7
3 changed files with 35 additions and 1 deletions
21
flake.lock
21
flake.lock
|
@ -100,6 +100,26 @@
|
|||
"type": "path"
|
||||
}
|
||||
},
|
||||
"nix-index-database": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1714878592,
|
||||
"narHash": "sha256-E68C03sYRsYFsK7wiGHUIJm8IsyPRALOrFoTL0glXnI=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nix-index-database",
|
||||
"rev": "a362555e9dbd4ecff3bb98969bbdb8f79fe87f10",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "nix-index-database",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nix-systems_default": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
|
@ -162,6 +182,7 @@
|
|||
"flake-utils": "flake-utils",
|
||||
"home-manager": "home-manager",
|
||||
"my_packages": "my_packages",
|
||||
"nix-index-database": "nix-index-database",
|
||||
"nix-systems_default": "nix-systems_default",
|
||||
"nixos-wsl": "nixos-wsl",
|
||||
"nixpkgs": "nixpkgs",
|
||||
|
|
12
flake.nix
12
flake.nix
|
@ -42,6 +42,11 @@
|
|||
inputs.flake-utils.follows = "flake-utils";
|
||||
};
|
||||
|
||||
nix-index-database = {
|
||||
url = "github:nix-community/nix-index-database";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
#########
|
||||
# Extra inputs that I am adding just to make my life easier,
|
||||
# but don't like that they're included >:(
|
||||
|
@ -62,7 +67,11 @@
|
|||
|
||||
}; # inputs
|
||||
|
||||
outputs = { self, nixpkgs, nixos-wsl, agenix, home-manager, my_packages, xil, ... }:
|
||||
outputs = {
|
||||
# Needed
|
||||
self, nixpkgs, nixos-wsl,
|
||||
# Added
|
||||
agenix, home-manager, my_packages, nix-index-database, xil, ... }:
|
||||
{
|
||||
nixosConfigurations = {
|
||||
nixos-wsl = nixpkgs.lib.nixosSystem {
|
||||
|
@ -80,6 +89,7 @@
|
|||
sharedModules = [
|
||||
./home/home.nix
|
||||
agenix.homeManagerModules.default
|
||||
nix-index-database.hmModules.nix-index
|
||||
];
|
||||
|
||||
users.whovian.home.packages = [
|
||||
|
|
|
@ -126,6 +126,9 @@
|
|||
jq = {
|
||||
enable = true;
|
||||
};
|
||||
nix-index = {
|
||||
enable = true;
|
||||
};
|
||||
ripgrep = {
|
||||
enable = true;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue