audio: rename pulseeffects to easyeffects, follow
upstream: https://github.com/wwmm/easyeffects
This commit is contained in:
parent
8229dea533
commit
73739322fa
|
@ -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
|
||||||
|
|
8
modules/audio/easyeffects.service.nix
Normal file
8
modules/audio/easyeffects.service.nix
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
pkgs:
|
||||||
|
{
|
||||||
|
Service = {
|
||||||
|
Type = "dbus";
|
||||||
|
BusName = "com.github.wwmm.easyeffects";
|
||||||
|
ExecStart = "${pkgs.easyeffects}/bin/easyeffects --gapplication-service";
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,8 +0,0 @@
|
||||||
pkgs:
|
|
||||||
{
|
|
||||||
Service = {
|
|
||||||
Type = "dbus";
|
|
||||||
BusName = "com.github.wwmm.pulseeffects";
|
|
||||||
ExecStart = "${pkgs.pulseeffects-pw}/bin/pulseeffects --gapplication-service";
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Reference in a new issue