19 lines
315 B
Nix
19 lines
315 B
Nix
|
{ 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"
|
||
|
];
|
||
|
};
|
||
|
}
|