Files
dotfiles/home.nix
Pierre Martin 2dc7c688ed feat(stt): add local speech-to-text with whisper.cpp
- Add stt-dictate script for push-to-talk dictation
- Add Mod+Space keybinding in i3 (hold to record, release to transcribe)
- Add whisper-cpp, alsa-utils, xdotool, libnotify packages
- Enable dunst notification daemon

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 17:04:07 +01:00

60 lines
1.3 KiB
Nix

{ pkgs, ... }:
{
home.stateVersion = "22.05";
# Temporary overlays for patches
nixpkgs.overlays = [ ];
home.file.".config/traefik/traefik.toml".source = ./files/traefik.toml;
home.file.".npmrc".source = ./files/.npmrc;
home.file.".local/bin/stt-dictate" = {
source = ./files/stt-dictate.sh;
executable = true;
};
imports =
[
./packages.nix
./programs/git.nix
./programs/i3.nix
./programs/zsh.nix
];
programs.btop.enable = true;
programs.vim.enable = true;
programs.vscode = {
enable = true;
package = pkgs.vscode.fhs;
extensions = [ ];
};
programs.rofi = {
enable = true;
plugins = [ pkgs.rofi-calc pkgs.rofi-emoji ];
terminal = "sakura";
};
programs.autorandr = {
enable = true;
hooks = {
postswitch = {
"notify-i3" = "${pkgs.i3}/bin/i3-msg restart";
};
};
};
# https://github.com/nix-community/nix-direnv/
programs.direnv =
{
enable = true;
enableZshIntegration = true;
nix-direnv.enable = true;
};
services.unclutter.enable = true;
services.blueman-applet.enable = true;
services.dunst.enable = true; # notification daemon
services.udiskie.enable = true; # require "services.udisks2.enable = true" in system configuration
}