Note
THE SERVICE NOW WORKS !!
Well... kind of... you cant use the configure option of the service... BUT
the systemd service now works, and it creates omnisearch user/group and
they run the service.
Note
USE pkgs.thunar as a reference.
See the sauce here
# flake.nix
{
inputs = {
# ... other inputs
omnisearch-flake = {
url = "github:liberecode/omnisearch-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
# ... other inputs
};
outputs = {
# ... other output-stuff
};
}# modules/nixos/omnisearch.nix
## need to be imported!
{ inputs, ... }: {
## This exposes pkgs and options
imports = [ inputs.omnisearch-flake.nixosModules.default ];
config = {
services.omnisearch = {
enable = true;
## enables systemd-service (default: true)
#systemd.enable = false;
## Will be applied to omnisearch's config.ini
settings = {
# ... settings here ...
};
};
};
}I just discovered there also exist another omnisearch nix-flake. It is a bit older, but is maybe better; I dunno 🤷.
This EUPL only extends toward this repo. For the original repo, see their LICENSE