feat: add nix-index and wrapped comma

This commit is contained in:
matt1432 2023-11-22 14:36:42 -05:00
parent cef6917067
commit 231fd16756
3 changed files with 38 additions and 1 deletions

View file

@ -3,6 +3,7 @@
, lib , lib
, nixpkgs , nixpkgs
, nixpkgs-wayland , nixpkgs-wayland
, nix-index-database
, nh , nh
, nur , nur
, nix-melt , nix-melt
@ -65,6 +66,17 @@
default = { default = {
imports = [ imports = [
nur.hmModules.nur nur.hmModules.nur
nix-index-database.hmModules.nix-index
{
programs = {
nix-index-database.comma.enable = true;
nix-index = {
enable = true;
enableBashIntegration = true;
};
};
}
./home/bash ./home/bash
./home/git.nix ./home/git.nix
./home/neovim ./home/neovim
@ -90,7 +102,6 @@
]) ++ ]) ++
(with pkgs; [ (with pkgs; [
comma
dracula-theme dracula-theme
neofetch neofetch
progress progress

View file

@ -482,6 +482,26 @@
"type": "github" "type": "github"
} }
}, },
"nix-index-database": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1700363379,
"narHash": "sha256-fBEVPFwSZ6AmBE1s1oT7E9WVuqRghruxTnSQ8UUlMkw=",
"owner": "Mic92",
"repo": "nix-index-database",
"rev": "27920146e671a0d565aaa7452907383be14d8d82",
"type": "github"
},
"original": {
"owner": "Mic92",
"repo": "nix-index-database",
"type": "github"
}
},
"nix-melt": { "nix-melt": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_3" "nixpkgs": "nixpkgs_3"
@ -727,6 +747,7 @@
"neovim-flake": "neovim-flake", "neovim-flake": "neovim-flake",
"nh": "nh", "nh": "nh",
"nix-gaming": "nix-gaming", "nix-gaming": "nix-gaming",
"nix-index-database": "nix-index-database",
"nix-melt": "nix-melt", "nix-melt": "nix-melt",
"nixpkgs": "nixpkgs_4", "nixpkgs": "nixpkgs_4",
"nixpkgs-wayland": "nixpkgs-wayland", "nixpkgs-wayland": "nixpkgs-wayland",

View file

@ -39,6 +39,11 @@
nh.url = "github:viperML/nh"; nh.url = "github:viperML/nh";
nix-melt.url = "github:nix-community/nix-melt"; nix-melt.url = "github:nix-community/nix-melt";
nurl.url = "github:nix-community/nurl"; nurl.url = "github:nix-community/nurl";
nix-index-database = {
url = "github:Mic92/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = { self, nixpkgs, home-manager, nur, nix-gaming, ... }@attrs: let outputs = { self, nixpkgs, home-manager, nur, nix-gaming, ... }@attrs: let