Add nix-index-database
All checks were successful
/ check (push) Successful in 1m42s

This commit is contained in:
Oliver Davies 2025-07-17 12:48:47 +01:00
parent ca1160b317
commit 198c2e9d59
5 changed files with 34 additions and 1 deletions

21
flake.lock generated
View file

@ -208,6 +208,26 @@
"type": "github"
}
},
"nix-index-database": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1752441837,
"narHash": "sha256-FMH1OSSJp8Cx8MZHXz6KckxJGbCnVMotZNAH3v2WneU=",
"owner": "nix-community",
"repo": "nix-index-database",
"rev": "839e02dece5845be3a322e507a79712b73a96ba2",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nix-index-database",
"type": "github"
}
},
"nixos-hardware": {
"locked": {
"lastModified": 1752048960,
@ -382,6 +402,7 @@
"disko": "disko",
"flake-parts": "flake-parts",
"home-manager": "home-manager_2",
"nix-index-database": "nix-index-database",
"nixos-hardware": "nixos-hardware",
"nixos-wsl": "nixos-wsl",
"nixpkgs": "nixpkgs_2",

View file

@ -17,6 +17,11 @@
url = "github:nix-community/home-manager/master";
};
nix-index-database = {
inputs.nixpkgs.follows = "nixpkgs";
url = "github:nix-community/nix-index-database";
};
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
nixos-wsl.url = "github:nix-community/NixOS-WSL/main";

View file

@ -22,6 +22,7 @@
./homelab/gitea-actions-runner.nix
./nix-index.nix
./nixpad
];
}

View file

@ -0,0 +1,7 @@
{ inputs, ... }:
{
imports = [ inputs.nix-index-database.nixosModules.nix-index ];
programs.nix-index-database.comma.enable = true;
}

View file

@ -22,7 +22,6 @@ with lib;
++ optional config.features.cli.podman.enable "podman";
packages = with pkgs; [
comma
magic-wormhole
];