espeak and http error codes

feature/hass
Ingolf Wagner 2020-03-15 21:49:39 +08:00
parent 4c753b9f55
commit 6bcbb04045
Signed by: palo
GPG Key ID: 76BF5F1928B9618B
2 changed files with 12 additions and 5 deletions

View File

@ -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")
];
};
};

View File

@ -4,13 +4,17 @@ with lib;
let
unstable = import <nixpkgs-unstable> {};
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