This commit is contained in:
parent
0a93ee59a3
commit
cedc64ab9b
1 changed files with 16 additions and 5 deletions
|
|
@ -1,8 +1,19 @@
|
|||
# services/omnisearch.nix — add 'inputs' to the args
|
||||
{ config, pkgs, lib, inputs, ... }:
|
||||
{
|
||||
# replace your fakeSelf tarball fetch with:
|
||||
services.omnisearch = {
|
||||
package = inputs.omnisearch.packages.${pkgs.stdenv.hostPlatform.system}.default;
|
||||
inputs = {
|
||||
omnisearch = {
|
||||
url = "git+https://git.bwaaa.monster/omnisearch";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, omnisearch, ... }: {
|
||||
nixosConfigurations.mySystem = nixpkgs.lib.nixosSystem {
|
||||
modules = [
|
||||
omnisearch.nixosModules.default
|
||||
{
|
||||
services.omnisearch.enable = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue