pipebert: add mpd

This commit is contained in:
Sandro - 2023-11-09 21:34:30 +01:00
parent e4e1bff5b9
commit f6abfad117
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 17 additions and 3 deletions

View File

@ -41,10 +41,11 @@
networking = {
domain = "hq.c3d2.de";
firewall.allowedTCPPorts = [ 6600 ];
hostId = "5c4ed15a";
hostName = "pipebert";
useDHCP = false;
interfaces.eth0.useDHCP = true;
useDHCP = false;
};
security.sudo = {
@ -55,23 +56,36 @@
services = {
mopidy = {
enable = true;
configuration = ''
configuration = /* toml */ ''
[audio]
output = pulsesink server=127.0.0.1
[core]
restore_state = true
[file]
enabled = true
media_dirs = /home/k-ot/Music
[http]
allowed_origins =
cristianpb.github.io
mopster.urizen.pl
[mpd]
enabled = true
hostname = ::
[youtube]
allow_cache = true
youtube_dl_package = yt_dlp
'';
extensionPackages = with pkgs; [ mopidy-muse mopidy-youtube python3Packages.yt-dlp ];
extensionPackages = with pkgs; [
mopidy-mpd
mopidy-muse
mopidy-youtube
python3Packages.yt-dlp
];
};
nginx = {