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

View File

@ -105,6 +105,26 @@
"type": "github" "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": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1693341273, "lastModified": 1693341273,
@ -247,6 +267,7 @@
"root": { "root": {
"inputs": { "inputs": {
"home-manager": "home-manager", "home-manager": "home-manager",
"nix-index-database": "nix-index-database",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nixpkgs-master": "nixpkgs-master", "nixpkgs-master": "nixpkgs-master",
"nixpkgs-unstable": "nixpkgs-unstable", "nixpkgs-unstable": "nixpkgs-unstable",

View File

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