nixos/localsearch, nixos/tinysparql: Remove some empty lines

As requested by Sandro.
This commit is contained in:
Bobby Rong 2024-10-08 21:01:43 +08:00
commit a506339b29
No known key found for this signature in database
2 changed files with 0 additions and 28 deletions

View file

@ -1,5 +1,3 @@
# LocalSearch daemons.
{
config,
pkgs,
@ -8,7 +6,6 @@
}:
{
meta = {
maintainers = lib.teams.gnome.members;
};
@ -30,12 +27,8 @@
)
];
###### interface
options = {
services.gnome.localsearch = {
enable = lib.mkOption {
type = lib.types.bool;
default = false;
@ -44,21 +37,14 @@
search engine and metadata storage system.
'';
};
};
};
###### implementation
config = lib.mkIf config.services.gnome.localsearch.enable {
environment.systemPackages = [ pkgs.localsearch ];
services.dbus.packages = [ pkgs.localsearch ];
systemd.packages = [ pkgs.localsearch ];
};
}

View file

@ -1,5 +1,3 @@
# TinySPARQL daemon.
{
config,
pkgs,
@ -11,7 +9,6 @@ let
cfg = config.services.gnome.tinysparql;
in
{
meta = {
maintainers = lib.teams.gnome.members;
};
@ -46,12 +43,8 @@ in
)
];
###### interface
options = {
services.gnome.tinysparql = {
enable = lib.mkOption {
type = lib.types.bool;
default = false;
@ -60,21 +53,14 @@ in
search tool and metadata storage system.
'';
};
};
};
###### implementation
config = lib.mkIf cfg.enable {
environment.systemPackages = [ pkgs.tinysparql ];
services.dbus.packages = [ pkgs.tinysparql ];
systemd.packages = [ pkgs.tinysparql ];
};
}