mirror of
https://github.com/zoriya/flake.git
synced 2026-05-30 01:38:11 +00:00
Use nix-index
This commit is contained in:
Generated
+21
@@ -234,6 +234,26 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nix-index-database": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1708225687,
|
||||
"narHash": "sha256-NJBDfvknI26beOFmjO2coeJMTTUCCtw2Iu+rvJ1Zb9k=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nix-index-database",
|
||||
"rev": "17352eb241a8d158c4ac523b19d8d2a6c8efe127",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "nix-index-database",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixos-hardware": {
|
||||
"locked": {
|
||||
"lastModified": 1708091350,
|
||||
@@ -273,6 +293,7 @@
|
||||
"home-manager": "home-manager",
|
||||
"impermanence": "impermanence",
|
||||
"neovim-nightly": "neovim-nightly",
|
||||
"nix-index-database": "nix-index-database",
|
||||
"nixos-hardware": "nixos-hardware",
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
|
||||
@@ -9,6 +9,10 @@
|
||||
};
|
||||
impermanence.url = "github:nix-community/impermanence";
|
||||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||
nix-index-database = {
|
||||
url = "github:nix-community/nix-index-database";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
neovim-nightly = {
|
||||
url = "github:nix-community/neovim-nightly-overlay";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
@@ -40,6 +44,7 @@
|
||||
flood,
|
||||
impermanence,
|
||||
nixos-hardware,
|
||||
nix-index-database,
|
||||
...
|
||||
} @ inputs: let
|
||||
user = "zoriya";
|
||||
@@ -82,6 +87,7 @@
|
||||
imports = [
|
||||
./modules/misc/home.nix
|
||||
(./modules + "/${de}/home.nix")
|
||||
nix-index-database.hmModules.nix-index
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
|
||||
programs.zsh.enable = true;
|
||||
environment.shells = with pkgs; [zsh];
|
||||
programs.command-not-found.enable = false;
|
||||
|
||||
services.locate = {
|
||||
enable = true;
|
||||
|
||||
@@ -45,6 +45,12 @@ in {
|
||||
# config.theme = "base16";
|
||||
# };
|
||||
|
||||
programs.command-not-found.enable = false;
|
||||
programs.nix-index = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
};
|
||||
|
||||
programs.less.enable = true;
|
||||
|
||||
programs.zsh = {
|
||||
@@ -140,7 +146,6 @@ in {
|
||||
"git"
|
||||
"copypath"
|
||||
"copyfile"
|
||||
"command-not-found"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user