made sound usable on non-graphical systems.

This commit is contained in:
Gabe Venberg 2025-10-20 15:39:32 +02:00
parent f4e5e24e2b
commit b9fb31d1d6
7 changed files with 28 additions and 36 deletions

View file

@ -1,6 +1,5 @@
{
imports = [
./git.nix
./voice.nix
];
}

View file

@ -1,20 +0,0 @@
{
config,
pkgs,
lib,
...
}: {
options.user.enable-speech = lib.mkEnableOption "espeak";
config = lib.mkIf config.user.enable-speech {
home.shellAliases = {
say = "espeak -p 10 -s 150 -a 200";
};
home.packages = with pkgs; [
espeak
];
programs.nushell.extraConfig = ''
alias say = espeak -p 10 -s 150 -a 200
'';
};
}