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
|
@ -17,6 +17,7 @@
|
||||||
gpg
|
gpg
|
||||||
htop
|
htop
|
||||||
keychain
|
keychain
|
||||||
|
mpd
|
||||||
ssh
|
ssh
|
||||||
vim
|
vim
|
||||||
|
|
||||||
|
|
|
@ -30,18 +30,6 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
|
||||||
mpd = {
|
|
||||||
enable = true;
|
|
||||||
extraConfig = ''
|
|
||||||
audio_output {
|
|
||||||
type "pipewire"
|
|
||||||
name "PipeWire Sound Server"
|
|
||||||
}
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
home.packages = with pkgs; flatten [
|
home.packages = with pkgs; flatten [
|
||||||
ncdu
|
ncdu
|
||||||
|
|
||||||
|
|
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