Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
67 lines
1.2 KiB
Nix
67 lines
1.2 KiB
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
|
|
let
|
|
cfg = config.services.gnome.tinysparql;
|
|
in
|
|
{
|
|
meta = {
|
|
maintainers = lib.teams.gnome.members;
|
|
};
|
|
|
|
imports = [
|
|
(lib.mkRemovedOptionModule
|
|
[
|
|
"services"
|
|
"gnome"
|
|
"tracker"
|
|
"subcommandPackages"
|
|
]
|
|
''
|
|
This option is broken since 3.7 and since 3.8 tracker (tinysparql) no longer expect
|
|
CLI to be extended by external projects, note that tracker-miners (localsearch) now
|
|
provides its own CLI tool.
|
|
''
|
|
)
|
|
(lib.mkRenamedOptionModule
|
|
[
|
|
"services"
|
|
"gnome"
|
|
"tracker"
|
|
"enable"
|
|
]
|
|
[
|
|
"services"
|
|
"gnome"
|
|
"tinysparql"
|
|
"enable"
|
|
]
|
|
)
|
|
];
|
|
|
|
options = {
|
|
services.gnome.tinysparql = {
|
|
enable = lib.mkOption {
|
|
type = lib.types.bool;
|
|
default = false;
|
|
description = ''
|
|
Whether to enable TinySPARQL services, a search engine,
|
|
search tool and metadata storage system.
|
|
'';
|
|
};
|
|
};
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
environment.systemPackages = [ pkgs.tinysparql ];
|
|
|
|
services.dbus.packages = [ pkgs.tinysparql ];
|
|
|
|
systemd.packages = [ pkgs.tinysparql ];
|
|
};
|
|
}
|