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 8229dea533
commit 73739322fa
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 { config = mkIf cfg.enable {
home-manager = with pkgs; pkgs.lib.setAttrByPath [ "users" psCfg.user.name ] { home-manager = with pkgs; pkgs.lib.setAttrByPath [ "users" psCfg.user.name ] {
home.packages = [ home.packages = [
# easyeffects, e.g. for microphone noise filtering
easyeffects
mu mu
pavucontrol pavucontrol
pa_applet pa_applet
playerctl playerctl
# Needed for pactl cmd, until pw-cli is more mature (vol up/down hotkeys?) # Needed for pactl cmd, until pw-cli is more mature (vol up/down hotkeys?)
pulseaudio pulseaudio
# pulseeffects for microphone noise filtering
pulseeffects-pw
vimpc vimpc
]; ];
xdg.configFile."vimpc/vimpcrc".source = ./.config/vimpc/vimpcrc; 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 # Enable sound using pipewire-pulse
services.pipewire = { services.pipewire = {
enable = true;
alsa.enable = true; alsa.enable = true;
alsa.support32Bit = true; alsa.support32Bit = true;
pulse.enable = 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); config.pipewire-pulse = builtins.fromJSON (builtins.readFile ./pipewire-pulse.conf.json);
# Bluetooth configuration for pipewire # 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";
};
}