Add nix-index-database flake

master
Yorick van Pelt 2023-01-26 19:22:24 +01:00
parent 19ec9327d3
commit 50c0592c9f
Signed by: yorick
GPG Key ID: A36E70F9DC014A15
2 changed files with 27 additions and 1 deletions

View File

@ -215,6 +215,26 @@
"type": "github"
}
},
"nix-index-database": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1674357402,
"narHash": "sha256-oxOCYORXBh0KW4KEwKpzs2LThDdVmEwREV+SsP4CIpg=",
"owner": "Mic92",
"repo": "nix-index-database",
"rev": "e9e7c5c62965e7e656febb5ba578d53f751eb41f",
"type": "github"
},
"original": {
"owner": "Mic92",
"repo": "nix-index-database",
"type": "github"
}
},
"nixos-hardware": {
"locked": {
"lastModified": 1673803274,
@ -359,6 +379,7 @@
"emacs-overlay": "emacs-overlay",
"flake-utils": "flake-utils_2",
"home-manager": "home-manager",
"nix-index-database": "nix-index-database",
"nixos-hardware": "nixos-hardware",
"nixos-mailserver": "nixos-mailserver",
"nixpkgs": "nixpkgs",

View File

@ -12,9 +12,13 @@
nixos-mailserver.inputs.nixpkgs.follows = "nixpkgs";
agenix.url = "github:ryantm/agenix";
agenix.inputs.nixpkgs.follows = "nixpkgs";
nix-index-database.url = "github:Mic92/nix-index-database";
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = inputs@{ nixpkgs, home-manager, nixpkgs-mozilla, emacs-overlay
, nixpkgs-wayland, nixpkgs-stable, nixos-hardware, agenix, flake-utils, self
, nixpkgs-wayland, nixpkgs-stable, nixos-hardware, agenix, flake-utils
, nix-index-database
, self
, ... }:
(flake-utils.lib.eachSystem [ "x86_64-linux" ] (system:
let pkgs = self.legacyPackages.${system};
@ -44,6 +48,7 @@
inherit pkgs;
modules = [
./home-manager/home.nix
nix-index-database.hmModules.nix-index
{
home = {
username = "yorick";