The fork takes its own name everywhere a user can see it: binaries (voculinux, voculinux-gui), desktop entry, autostart, tray, D-Bus namespace (com.voculinux.Voculinux, no alias for the old name), config/data/cache dirs, single-instance lock, IBus engine identity, tray icons, resource prefixes, VOCULINUX_* environment names, and the update-checker user agent. The internal Python module stays vocalinux and the distribution metadata keeps the upstream URLs as provenance. On first run a previous Vocalinux install's config.json, custom dictionary, and portal restore token are copied once into the new locations (new config always wins, no merge, no write-back); models re-resolve through the pinned-checksum download path. An offline naming-sweep test proves no old-name strings remain on user-visible surfaces outside the allowlist. Refs #18
26 lines
698 B
Nix
26 lines
698 B
Nix
# Home Manager module for Voculinux.
|
|
#
|
|
# Installs the package into the user profile; device permissions are a
|
|
# system concern, so pair it with the NixOS module (or the manual group
|
|
# steps in docs/INSTALL.md) for Wayland/evdev shortcuts and ydotool typing.
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
let
|
|
cfg = config.programs.voculinux;
|
|
in
|
|
{
|
|
options.programs.voculinux = {
|
|
enable = lib.mkEnableOption "Voculinux voice dictation";
|
|
|
|
package = lib.mkOption {
|
|
type = lib.types.package;
|
|
defaultText = "the package built by the voculinux flake";
|
|
description = "The voculinux package to install.";
|
|
};
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
home.packages = [ cfg.package ];
|
|
};
|
|
}
|