audio: rename pulseeffects to easyeffects, follow

upstream: https://github.com/wwmm/easyeffects
This commit is contained in:
teutat3s 2022-01-05 23:02:05 +01:00
parent 52e934b3fc
commit a208a817f7
Signed by untrusted user: teutat3s
GPG key ID: 4FA1D3FA524F22C1
3 changed files with 18 additions and 11 deletions

View file

@ -15,26 +15,33 @@ in
config = mkIf cfg.enable {
home-manager = with pkgs; pkgs.lib.setAttrByPath [ "users" psCfg.user.name ] {
home.packages = [
# easyeffects, e.g. for microphone noise filtering
easyeffects
mu
pavucontrol
pa_applet
playerctl
# Needed for pactl cmd, until pw-cli is more mature (vol up/down hotkeys?)
pulseaudio
# pulseeffects for microphone noise filtering
pulseeffects-pw
vimpc
];
xdg.configFile."vimpc/vimpcrc".source = ./.config/vimpc/vimpcrc;
systemd.user.services.pulseeffects = import ./pulseeffects.service.nix pkgs;
systemd.user.services.easyeffects = import ./easyeffects.service.nix pkgs;
};
# Enable sound using pipewire-pulse
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
config.pipewire = {
context.default.clock = {
allowed-rates = [ 44100 48000 88200 96000 ];
rate = 44100;
};
};
config.pipewire-pulse = builtins.fromJSON (builtins.readFile ./pipewire-pulse.conf.json);
# Bluetooth configuration for pipewire

View file

@ -0,0 +1,8 @@
pkgs:
{
Service = {
Type = "dbus";
BusName = "com.github.wwmm.easyeffects";
ExecStart = "${pkgs.easyeffects}/bin/easyeffects --gapplication-service";
};
}

View file

@ -1,8 +0,0 @@
pkgs:
{
Service = {
Type = "dbus";
BusName = "com.github.wwmm.pulseeffects";
ExecStart = "${pkgs.pulseeffects-pw}/bin/pulseeffects --gapplication-service";
};
}