mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-26 06:54:57 +08:00
use fork of nix-index-database
This commit is contained in:
parent
81e70ccbd2
commit
d4fe1a9be9
3 changed files with 23 additions and 13 deletions
19
flake.lock
generated
19
flake.lock
generated
|
|
@ -900,16 +900,19 @@
|
|||
"nix-index": {
|
||||
"inputs": {
|
||||
"flake-compat": "flake-compat_2",
|
||||
"nix-index-database": [
|
||||
"nix-index-database"
|
||||
],
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1734697770,
|
||||
"narHash": "sha256-pPJSqSwVQ1XagigG8sfpBweqTJp6IfEAGmxhcAk4tDg=",
|
||||
"lastModified": 1734902568,
|
||||
"narHash": "sha256-X4CzMp+L7jBL9gQemTvhT8rDhE+8LYqn9bAZB8TVIoU=",
|
||||
"owner": "gvolpe",
|
||||
"repo": "nix-index",
|
||||
"rev": "dc0329df4bfe76b326756c2b7f3a811d5e910e2f",
|
||||
"rev": "14644fb1a4bfcd1cd620c90875dd5661f26ca94a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -925,15 +928,15 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1734234111,
|
||||
"narHash": "sha256-icEMqBt4HtGH52PU5FHidgBrNJvOfXH6VQKNtnD1aw8=",
|
||||
"owner": "nix-community",
|
||||
"lastModified": 1734886205,
|
||||
"narHash": "sha256-vaODlEr6aOLEmbhPrQ8j5xWr8UHcXbZx2ulvBIDMf5w=",
|
||||
"owner": "gvolpe",
|
||||
"repo": "nix-index-database",
|
||||
"rev": "311d6cf3ad3f56cb051ffab1f480b2909b3f754d",
|
||||
"rev": "07f7fcb8de6ee50a472a119a02616fb1ed67a25f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"owner": "gvolpe",
|
||||
"repo": "nix-index-database",
|
||||
"type": "github"
|
||||
}
|
||||
|
|
|
|||
11
flake.nix
11
flake.nix
|
|
@ -20,13 +20,18 @@
|
|||
github-nix-ci.url = "github:juspay/github-nix-ci";
|
||||
nixos-vscode-server.flake = false;
|
||||
nixos-vscode-server.url = "github:nix-community/nixos-vscode-server";
|
||||
nix-index-database.url = "github:nix-community/nix-index-database";
|
||||
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
# Fork with flake support https://github.com/gvolpe/nix-index/pull/1
|
||||
nix-index = {
|
||||
# Fork with flake support https://github.com/gvolpe/nix-index/pull/1
|
||||
url = "github:gvolpe/nix-index";
|
||||
inputs.nix-index-database.follows = "nix-index-database";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
nix-index-database = {
|
||||
url = "github:gvolpe/nix-index-database";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
actualism-app.url = "github:srid/actualism-app";
|
||||
omnix.url = "github:juspay/omnix";
|
||||
hyprland.url = "github:hyprwm/Hyprland/v0.45.2";
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# Platform-independent terminal setup
|
||||
{ flake, ... }:
|
||||
{ flake, pkgs, ... }:
|
||||
|
||||
let
|
||||
inherit (flake) inputs;
|
||||
|
|
@ -15,7 +15,9 @@ in
|
|||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
enableNixCommand = true;
|
||||
database = inputs.nix-index-database.packages.${pkgs.system}.nix-index-small-database;
|
||||
};
|
||||
nix-index-database.comma.enable = true;
|
||||
command-not-found.enable = false;
|
||||
# nix-index-database.comma.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue