Skip to content

Latest commit

 

History

History
69 lines (52 loc) · 1.46 KB

README.md

File metadata and controls

69 lines (52 loc) · 1.46 KB

omnisearch.nix

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.

ABOUT

Note

USE pkgs.thunar as a reference. See the sauce here

USAGE

# 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 ...
      };
    };
  };
}

ALTERNATIVES

I just discovered there also exist another omnisearch nix-flake. It is a bit older, but is maybe better; I dunno 🤷.

LICENSE

This EUPL only extends toward this repo. For the original repo, see their LICENSE