calls: split callaudiod out and run it manually
This commit is contained in:
parent
ee36f2f052
commit
c987f13ef0
13
hosts/common/programs/callaudiod.nix
Normal file
13
hosts/common/programs/callaudiod.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
# https://github.com/droidian/callaudiod
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
sane.programs.callaudiod = {
|
||||
packageUnwrapped = pkgs.rmDbusServices pkgs.callaudiod;
|
||||
|
||||
services.callaudiod = {
|
||||
description = "callaudiod: dbus service to switch audio profiles and mute microphone";
|
||||
partOf = [ "default" ];
|
||||
command = "callaudiod";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -56,6 +56,7 @@ in
|
|||
# this is only the username/endpoint: the actual password appears to be stored in gnome-keyring
|
||||
secrets.".config/calls/sip-account.cfg" = ../../../secrets/common/gnome_calls_sip-account.cfg.bin;
|
||||
suggestedPrograms = [
|
||||
"callaudiod" # runtime dependency (optional, but probably needed for mic muting?)
|
||||
"feedbackd" # needs `phone-incoming-call`, in particular
|
||||
"gnome-keyring" # to remember the password
|
||||
];
|
||||
|
@ -73,7 +74,4 @@ in
|
|||
command = "env G_MESSAGES_DEBUG=all PULSE_LATENCY_MSEC=50 gnome-calls";
|
||||
};
|
||||
};
|
||||
programs.calls = lib.mkIf cfg.enabled {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
./bonsai.nix
|
||||
./brave.nix
|
||||
./bubblewrap.nix
|
||||
./callaudiod.nix
|
||||
./calls.nix
|
||||
./cantata.nix
|
||||
./catt.nix
|
||||
|
|
Loading…
Reference in New Issue
Block a user