From 6bcbb0404529638a0101ca28c7f033b6d2785aa8 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Sun, 15 Mar 2020 21:49:39 +0800 Subject: [PATCH] espeak and http error codes --- configs/workhorse/jenkins.nix | 3 +++ modules/programs/espeak.nix | 14 +++++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/configs/workhorse/jenkins.nix b/configs/workhorse/jenkins.nix index bbbbdad..7305eae 100644 --- a/configs/workhorse/jenkins.nix +++ b/configs/workhorse/jenkins.nix @@ -222,6 +222,9 @@ in { "ssh://gogs@git.ingolf-wagner.de:443/palo/LineagoOS-build.git" "git@github.com:mrVanDalo/LineagoOS-build.git") + (sync-to-github "sync-http-errors" + "ssh://gogs@git.ingolf-wagner.de:443/palo/http-errors.git" + "git@github.com:mrVanDalo/http-errors.git") ]; }; }; diff --git a/modules/programs/espeak.nix b/modules/programs/espeak.nix index ac14b1e..9aaf6ba 100644 --- a/modules/programs/espeak.nix +++ b/modules/programs/espeak.nix @@ -4,13 +4,17 @@ with lib; let + unstable = import {}; + + espeak = unstable.espeak; + # can't use bash aliases because programms will not pic it up en_espeak = pkgs.writeShellScriptBin "en-speak" '' - exec ${pkgs.espeak}/bin/espeak \ + exec ${espeak}/bin/espeak \ -v en\ -s 145 \ -p 23 \ - $@ + "$@" ''; # read from copyq @@ -20,11 +24,11 @@ let # can't use bash aliases because programms will not pic it up de_espeak = pkgs.writeShellScriptBin "de-speak" '' - exec ${pkgs.espeak}/bin/espeak \ + exec ${espeak}/bin/espeak \ -v de\ -s 143 \ -p 20 \ - $@ + "$@" ''; # read from copyq @@ -41,7 +45,7 @@ in { config = mkIf cfg.enable { - environment.systemPackages = with pkgs; [ + environment.systemPackages = [ espeak en_espeak en_read