mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 06:19:00 +00:00
config: add nix-index-database for pre-compiled indices
It always crashes in my desktop whenever I try to create one.
This commit is contained in:
parent
048c6c77e9
commit
b916de5ded
21
flake.lock
generated
21
flake.lock
generated
@ -479,6 +479,26 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nix-index-database": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1698550809,
|
||||||
|
"narHash": "sha256-Um8+Wi6EAH5dCgfgl7OqaVd4wFJn6FKLafcP5QPr/98=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "nix-index-database",
|
||||||
|
"rev": "1f0981f5baeb78e3c89a8980ff1a39f06876fa8c",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "nix-index-database",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixlib": {
|
"nixlib": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1693701915,
|
"lastModified": 1693701915,
|
||||||
@ -686,6 +706,7 @@
|
|||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"neovim-nightly-overlay": "neovim-nightly-overlay",
|
"neovim-nightly-overlay": "neovim-nightly-overlay",
|
||||||
"nix-colors": "nix-colors",
|
"nix-colors": "nix-colors",
|
||||||
|
"nix-index-database": "nix-index-database",
|
||||||
"nixos-generators": "nixos-generators",
|
"nixos-generators": "nixos-generators",
|
||||||
"nixos-stable": "nixos-stable",
|
"nixos-stable": "nixos-stable",
|
||||||
"nixos-unstable": "nixos-unstable",
|
"nixos-unstable": "nixos-unstable",
|
||||||
|
@ -67,6 +67,10 @@
|
|||||||
deploy.url = "github:serokell/deploy-rs";
|
deploy.url = "github:serokell/deploy-rs";
|
||||||
deploy.inputs.nixpkgs.follows = "nixpkgs";
|
deploy.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
|
# Add a bunch of pre-compiled indices since mine are always crashing.
|
||||||
|
nix-index-database.url = "github:nix-community/nix-index-database";
|
||||||
|
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
# Someone has already solved downloading Firefox addons so we'll use it.
|
# Someone has already solved downloading Firefox addons so we'll use it.
|
||||||
firefox-addons.url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
|
firefox-addons.url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
|
||||||
firefox-addons.inputs.nixpkgs.follows = "nixpkgs";
|
firefox-addons.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
@ -155,6 +159,7 @@
|
|||||||
inputs.sops-nix.nixosModules.sops
|
inputs.sops-nix.nixosModules.sops
|
||||||
inputs.guix-overlay.nixosModules.guix
|
inputs.guix-overlay.nixosModules.guix
|
||||||
inputs.disko.nixosModules.disko
|
inputs.disko.nixosModules.disko
|
||||||
|
inputs.nix-index-database.nixosModules.nix-index
|
||||||
];
|
];
|
||||||
|
|
||||||
# BOOOOOOOOOOOOO! Somebody give me a tomato!
|
# BOOOOOOOOOOOOO! Somebody give me a tomato!
|
||||||
@ -225,6 +230,7 @@
|
|||||||
++ [
|
++ [
|
||||||
inputs.nur.hmModules.nur
|
inputs.nur.hmModules.nur
|
||||||
inputs.sops-nix.homeManagerModules.sops
|
inputs.sops-nix.homeManagerModules.sops
|
||||||
|
inputs.nix-index-database.hmModules.nix-index
|
||||||
];
|
];
|
||||||
|
|
||||||
# Hardcoding this is not really great especially if you consider using
|
# Hardcoding this is not really great especially if you consider using
|
||||||
|
Loading…
Reference in New Issue
Block a user