Add nix index database

This commit is contained in:
Lillian Violet 2024-04-23 11:32:18 +02:00
parent fd3e121d2a
commit 0c15e86846
2 changed files with 30 additions and 0 deletions

View file

@ -469,6 +469,26 @@
"type": "github" "type": "github"
} }
}, },
"nix-index-database": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1713668931,
"narHash": "sha256-rVlwWQlgFGGK3aPVcKmtYqWgjYnPah5FOIsYAqrMN2w=",
"owner": "nix-community",
"repo": "nix-index-database",
"rev": "07ece11b22217b8459df589f858e92212b74f1a1",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nix-index-database",
"type": "github"
}
},
"nixlib": { "nixlib": {
"locked": { "locked": {
"lastModified": 1712450863, "lastModified": 1712450863,
@ -769,6 +789,7 @@
"jovian": "jovian", "jovian": "jovian",
"lanzaboote": "lanzaboote", "lanzaboote": "lanzaboote",
"linger": "linger", "linger": "linger",
"nix-index-database": "nix-index-database",
"nixos-generators": "nixos-generators", "nixos-generators": "nixos-generators",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_4", "nixpkgs": "nixpkgs_4",

View file

@ -23,6 +23,10 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
# Nix index database files
nix-index-database.url = "github:nix-community/nix-index-database";
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
# Secret management with sops # Secret management with sops
sops-nix.url = "github:Mic92/sops-nix"; sops-nix.url = "github:Mic92/sops-nix";
@ -85,6 +89,7 @@
lanzaboote, lanzaboote,
jovian, jovian,
nixos-hardware, nixos-hardware,
nix-index-database,
conduit, conduit,
... ...
} @ inputs: let } @ inputs: let
@ -133,6 +138,7 @@
lanzaboote.nixosModules.lanzaboote lanzaboote.nixosModules.lanzaboote
disko.nixosModules.disko disko.nixosModules.disko
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
nix-index-database.nixosModules.nix-index
{ {
home-manager.sharedModules = [inputs.plasma-manager.homeManagerModules.plasma-manager]; home-manager.sharedModules = [inputs.plasma-manager.homeManagerModules.plasma-manager];
} }
@ -149,6 +155,7 @@
lanzaboote.nixosModules.lanzaboote lanzaboote.nixosModules.lanzaboote
disko.nixosModules.disko disko.nixosModules.disko
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
nix-index-database.nixosModules.nix-index
{ {
home-manager.sharedModules = [inputs.plasma-manager.homeManagerModules.plasma-manager]; home-manager.sharedModules = [inputs.plasma-manager.homeManagerModules.plasma-manager];
} }
@ -193,6 +200,7 @@
./nixos/hosts/iso/configuration.nix ./nixos/hosts/iso/configuration.nix
sops-nix.nixosModules.sops sops-nix.nixosModules.sops
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
nix-index-database.nixosModules.nix-index
{ {
home-manager.sharedModules = [inputs.plasma-manager.homeManagerModules.plasma-manager]; home-manager.sharedModules = [inputs.plasma-manager.homeManagerModules.plasma-manager];
} }
@ -203,6 +211,7 @@
system = "armv7l-linux"; system = "armv7l-linux";
specialArgs = {inherit inputs outputs;}; specialArgs = {inherit inputs outputs;};
modules = [ modules = [
nix-index-database.nixosModules.nix-index
# make the module declared by the linger flake available to our config # make the module declared by the linger flake available to our config
#linger.nixosModules."armv7l-linux".default #linger.nixosModules."armv7l-linux".default
#pihole.nixosModules."armv7l-linux".default #pihole.nixosModules."armv7l-linux".default