profiles/mpd: move mpd config into profile
This commit is contained in:
parent
7554ded3fe
commit
c44b33711e
3 changed files with 22 additions and 12 deletions
21
users/profiles/mpd.nix
Normal file
21
users/profiles/mpd.nix
Normal 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
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue