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
, nixpkgs
, nixpkgs-wayland
, nix-index-database
, nh
, nur
, nix-melt
@ -65,6 +66,17 @@
default = {
imports = [
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/git.nix
./home/neovim
@ -90,7 +102,6 @@
]) ++
(with pkgs; [
comma
dracula-theme
neofetch
progress

View file

@ -482,6 +482,26 @@
"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": {
"inputs": {
"nixpkgs": "nixpkgs_3"
@ -727,6 +747,7 @@
"neovim-flake": "neovim-flake",
"nh": "nh",
"nix-gaming": "nix-gaming",
"nix-index-database": "nix-index-database",
"nix-melt": "nix-melt",
"nixpkgs": "nixpkgs_4",
"nixpkgs-wayland": "nixpkgs-wayland",

View file

@ -39,6 +39,11 @@
nh.url = "github:viperML/nh";
nix-melt.url = "github:nix-community/nix-melt";
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