nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

nixos/orca: init very simple module

K900 64da4010 187f4340

+26
+1
nixos/modules/module-list.nix
··· 363 363 ./security/systemd-confinement.nix 364 364 ./security/tpm2.nix 365 365 ./security/wrappers/default.nix 366 + ./services/accessibility/orca.nix 366 367 ./services/accessibility/speechd.nix 367 368 ./services/admin/docuum.nix 368 369 ./services/admin/meshcentral.nix
+25
nixos/modules/services/accessibility/orca.nix
··· 1 + { 2 + config, 3 + lib, 4 + pkgs, 5 + ... 6 + }: 7 + let 8 + cfg = config.services.orca; 9 + inherit (lib) 10 + mkEnableOption 11 + mkIf 12 + mkPackageOption 13 + ; 14 + in 15 + { 16 + options.services.orca = { 17 + enable = mkEnableOption "Orca screen reader"; 18 + package = mkPackageOption pkgs "orca" { }; 19 + }; 20 + 21 + config = mkIf cfg.enable { 22 + environment.systemPackages = [ cfg.package ]; 23 + services.speechd.enable = true; 24 + }; 25 + }