feat: add nix-index-database and comma

This commit is contained in:
Youwen Wu 2024-11-01 21:35:48 -07:00
parent 48752ec0b2
commit 8632afc3c2
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
4 changed files with 41 additions and 9 deletions

View file

@ -667,6 +667,26 @@
"type": "github"
}
},
"nix-index-database": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1729999765,
"narHash": "sha256-LYsavZXitFjjyETZoij8usXjTa7fa9AIF3Sk3MJSX+Y=",
"owner": "nix-community",
"repo": "nix-index-database",
"rev": "0e3a8778c2ee218eff8de6aacf3d2fa6c33b2d4f",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nix-index-database",
"type": "github"
}
},
"nixCats": {
"locked": {
"lastModified": 1730202844,
@ -838,6 +858,7 @@
"lix-module": "lix-module",
"nix-darwin": "nix-darwin",
"nix-homebrew": "nix-homebrew",
"nix-index-database": "nix-index-database",
"nixpkgs": "nixpkgs_2",
"spicetify": "spicetify",
"stylix": "stylix",

View file

@ -73,6 +73,11 @@
stylix.url = "github:danth/stylix";
nix-index-database = {
url = "github:nix-community/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
wallpapers = {
url = "git+https://code.youwen.dev/youwen5/wallpapers";
flake = false;

View file

@ -26,7 +26,8 @@
inherit inputs;
};
home-manager.users.youwen = {
imports = [
imports =
[
./home-manager-extras
../../users/youwen/linux/laptop
../../users/youwen/linux/packages/x86_64
@ -34,7 +35,10 @@
../../users/youwen/common
../../users/youwen/linux/spicetify
../../users/youwen/common/fastfetch
];
]
++ (with inputs; [
nix-index-database.hmModules.nix-index
]);
};
}
]

View file

@ -156,6 +156,8 @@ in
enableFishIntegration = true;
};
programs.nix-index-database.comma.enable = true;
programs.fd.enable = true;
programs.btop = {