Remove libretranslate
It only translates a single word, no list of possible translations. It is also slow and huge. I'll keep using deepl for now.
This commit is contained in:
parent
c06e919d33
commit
7a0068bd9f
|
@ -1,18 +0,0 @@
|
||||||
{ pkgs }:
|
|
||||||
|
|
||||||
{
|
|
||||||
Unit = {
|
|
||||||
Description = "LibreTrnalsate";
|
|
||||||
PartOf = "graphical-session.target";
|
|
||||||
};
|
|
||||||
|
|
||||||
Service = {
|
|
||||||
ExecStart = "${pkgs.libretranslate}/bin/libretranslate --load-only de,en --disable-files-translation";
|
|
||||||
};
|
|
||||||
|
|
||||||
Install = {
|
|
||||||
WantedBy = [
|
|
||||||
"hm-graphical-session.target"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -5,9 +5,6 @@
|
||||||
batteryicon = import ./services/batteryicon.nix {
|
batteryicon = import ./services/batteryicon.nix {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
};
|
};
|
||||||
libretranslate = import ./services/libretranslate.nix {
|
|
||||||
inherit pkgs;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
tmpfiles.rules = [
|
tmpfiles.rules = [
|
||||||
|
|
Loading…
Reference in a new issue