From d61cb3059ff31566d5b3fbc91fccdf350b4f7c31 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Fri, 25 Nov 2022 12:01:00 +0100 Subject: [PATCH] Enable mpd on home system --- home-manager/modules/mpd/default.nix | 8 +++++++- users/erwin/home.nix | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/home-manager/modules/mpd/default.nix b/home-manager/modules/mpd/default.nix index 0530fd5..34e6925 100644 --- a/home-manager/modules/mpd/default.nix +++ b/home-manager/modules/mpd/default.nix @@ -15,6 +15,12 @@ in network = { startWhenNeeded = true; }; + extraConfig = '' + audio_output { + type "pipewire" + name "PipeWire Sound Server" + } + ''; }; services.mpdris2 = { @@ -22,6 +28,6 @@ in notifications = true; }; - home.packages = with pkgs; [ mpc-cli ]; + home.packages = with pkgs; [ mpc-cli (ncmpcpp.override { visualizerSupport = true; }) ]; }; } diff --git a/users/erwin/home.nix b/users/erwin/home.nix index 3bd701b..cc06d8a 100644 --- a/users/erwin/home.nix +++ b/users/erwin/home.nix @@ -55,6 +55,7 @@ in }; gpg.enable = true; hyprland.enable = true; + mpd.enable = true; neovim.enable = true; obs-studio.enable = true; rclone = {