feat: nix-index
This commit is contained in:
parent
bd0eef087e
commit
88c645c1bd
4 changed files with 29 additions and 1 deletions
21
flake.lock
21
flake.lock
|
@ -163,6 +163,26 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nix-index-database": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1713668931,
|
||||
"narHash": "sha256-rVlwWQlgFGGK3aPVcKmtYqWgjYnPah5FOIsYAqrMN2w=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nix-index-database",
|
||||
"rev": "07ece11b22217b8459df589f858e92212b74f1a1",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "nix-index-database",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1709961763,
|
||||
|
@ -216,6 +236,7 @@
|
|||
"home-manager": "home-manager_2",
|
||||
"nil": "nil",
|
||||
"nix-darwin": "nix-darwin",
|
||||
"nix-index-database": "nix-index-database",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"nixpkgs-stable": "nixpkgs-stable",
|
||||
"vscode-server": "vscode-server"
|
||||
|
|
|
@ -40,6 +40,9 @@
|
|||
|
||||
nix-darwin.url = "github:LnL7/nix-darwin";
|
||||
nix-darwin.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
nix-index-database.url = "github:nix-community/nix-index-database";
|
||||
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
outputs =
|
||||
|
|
|
@ -1,17 +1,19 @@
|
|||
{ pkgs, inputs, ... }: {
|
||||
imports = [
|
||||
inputs.nix-index-database.hmModules.nix-index
|
||||
./zsh.nix
|
||||
];
|
||||
|
||||
home.stateVersion = "23.11";
|
||||
|
||||
programs.nix-index-database.comma.enable = true;
|
||||
|
||||
home.packages = with pkgs; [
|
||||
tree
|
||||
nixpkgs-fmt
|
||||
htop
|
||||
jq
|
||||
micro
|
||||
comma
|
||||
carapace
|
||||
inputs.nil.packages.${system}.default
|
||||
inputs.agenix.packages.${system}.default
|
||||
|
|
|
@ -140,4 +140,6 @@ in {
|
|||
export PATH="$HOME/.cargo/bin/:$HOME/.bun/bin:$HOME/.deno/bin:$PATH"
|
||||
'';
|
||||
};
|
||||
|
||||
programs.nix-index.enable = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue