audio: rename pulseeffects to easyeffects, follow
upstream: https://github.com/wwmm/easyeffects
This commit is contained in:
parent
e0e7c4c42d
commit
b3d764ba6e
|
@ -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
|
||||
|
|
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