profiles/mpd: move mpd config into profile

This commit is contained in:
Infinidoge 2023-08-28 09:50:10 -04:00
parent 7554ded3fe
commit c44b33711e
3 changed files with 22 additions and 12 deletions

View file

@ -17,6 +17,7 @@
gpg
htop
keychain
mpd
ssh
vim

View file

@ -30,18 +30,6 @@ in
};
};
services = {
mpd = {
enable = true;
extraConfig = ''
audio_output {
type "pipewire"
name "PipeWire Sound Server"
}
'';
};
};
home.packages = with pkgs; flatten [
ncdu

21
users/profiles/mpd.nix Normal file
View file

@ -0,0 +1,21 @@
{ config, lib, pkgs, ... }:
{
services = {
mpd = {
enable = true;
extraConfig = ''
audio_output {
type "pipewire"
name "PipeWire Sound Server"
}
'';
};
mpd-mpris.enable = true;
mpris-proxy.enable = true;
};
home.packages = with pkgs; [
playerctl
];
}