Skip to content

Commit

Permalink
nixos/wyoming/{faster-whisper,piper}: hook up enable option
Browse files Browse the repository at this point in the history
(cherry picked from commit de0e284)
  • Loading branch information
mweinelt committed Dec 7, 2023
1 parent 6037ea8 commit a24421d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions nixos/modules/services/audio/wyoming/faster-whisper.nix
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ in
in mkIf (cfg.servers != {}) {
systemd.services = mapAttrs' (server: options:
nameValuePair "wyoming-faster-whisper-${server}" {
inherit (options) enable;
description = "Wyoming faster-whisper server instance ${server}";
after = [
"network-online.target"
Expand Down
1 change: 1 addition & 0 deletions nixos/modules/services/audio/wyoming/piper.nix
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ in
in mkIf (cfg.servers != {}) {
systemd.services = mapAttrs' (server: options:
nameValuePair "wyoming-piper-${server}" {
inherit (options) enable;
description = "Wyoming Piper server instance ${server}";
after = [
"network-online.target"
Expand Down

0 comments on commit a24421d

Please sign in to comment.