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 e0e7c4c42d
commit b3d764ba6e
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
3 changed files with 18 additions and 11 deletions

View file

@ -13,26 +13,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";
};
}