added cached nix package index for comma

This commit is contained in:
Kristian Krsnik 2023-09-05 18:39:00 +02:00
parent 42abc2a62e
commit 77eb2ce7fb
No known key found for this signature in database
GPG Key ID: A618BA9FBDF8681C
2 changed files with 30 additions and 0 deletions

21
flake.lock generated
View File

@ -105,6 +105,26 @@
"type": "github"
}
},
"nix-index-database": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1693711723,
"narHash": "sha256-5QmlVzskLciJ0QzYmZ6ULvKA7bP6pgV9wwrLBB0V3j0=",
"owner": "Mic92",
"repo": "nix-index-database",
"rev": "aca56a79afb82208af2b39d8459dd29c10989135",
"type": "github"
},
"original": {
"owner": "Mic92",
"repo": "nix-index-database",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1693341273,
@ -247,6 +267,7 @@
"root": {
"inputs": {
"home-manager": "home-manager",
"nix-index-database": "nix-index-database",
"nixpkgs": "nixpkgs",
"nixpkgs-master": "nixpkgs-master",
"nixpkgs-unstable": "nixpkgs-unstable",

View File

@ -19,6 +19,12 @@
# Wallpaper
wallpaper.url = "github:lunik1/nix-wallpaper";
# Nix index
nix-index-database = {
url = "github:Mic92/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {
@ -30,6 +36,7 @@
nur,
zig,
wallpaper,
nix-index-database,
}: let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
@ -45,6 +52,8 @@
nur.nixosModules.nur
nix-index-database.hmModules.nix-index
{
nixpkgs.overlays = [
zig.overlays.default # Add zig