Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.
/ weblate Public archive

Nix Flake and NixOS module for Weblate.

Notifications You must be signed in to change notification settings

ngi-nix/weblate

Repository files navigation

This effort was superseeded by the NixOS module in this PR. Please use it's branch or, as soon as it's merged, the official NixOS module.

About this flake

This Nix flake packages Weblate, a web based translation tool. It is fully usable and tested regularly.

Usage

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";
    };
  };

}

Putting Weblate into Nixpkgs

There is an ongoing effort to merge the Weblate module and package into Nixpkgs. If you want to support this, your review would be welcome.

About

Nix Flake and NixOS module for Weblate.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages