This Nix flake packages Weblate, a web based translation tool. It is fully usable and tested regularly.
The primary use of this flake is deploying Weblate on NixOS. For that you would use the NixOS module available in .#nixosModule
.
If you have that module available in your NixOS config, configuration is straightforward. See e.g. this example config:
{ config, lib, pkgs, ... }: {
services.weblate = {
enable = true;
localDomain = "weblate.example.org";
# E.g. use `base64 /dev/urandom | head -c50` to generate one.
djangoSecretKeyFile = "/path/to/secret";
smtp = {
createLocally = true;
user = "weblate@example.org";
passwordFile = "/path/to/secret";
};
};
}
Originally the goal of this flake was to package Weblate in Nixpkgs, but as support for Poetry2nix was dropped in Nixpkgs, that is no longer feasible.
AFAIR there is no current effort to make Weblate available in Nixpkgs directly, even though it would be possible to achieve without using Poetry2nix.