Warning
The package works (on my machine at least), but
THE SERVICE DEFINENTLY DO NOT WORK!
Also, my package is kind of shit (as in bloated) at the moment...
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 ...
};
};
};
}This EUPL only extends toward this repo. For the original repo, see their LICENSE