add mopidy + flake.lock update

This commit is contained in:
Don Harper 2023-11-16 22:20:10 -06:00
parent e56c00da4b
commit 17c64e59ea
3 changed files with 43 additions and 9 deletions

33
home/mopidy.nix Normal file
View file

@ -0,0 +1,33 @@
{ pkgs, config, ... }:
{
services = {
mopidy = {
enable = true;
extensionPackages = with pkgs; [
mopidy-mpd
mopidy-subidy
mopidy-moped
];
settings = {
http = {
enabled = true;
hostname = "127.0.0.1";
port = "6680";
zeroconf = "Mopidy HTTP server on loki";
csrf_protection = true;
default_app = "mopidy";
};
jellyfin = {
hostname = "jelly.duckland.org";
username = "don";
password = "D4u5c3k!@";
albumartistsort = false;
};
mpd = {
enabled = true;
};
};
};
};
}

View file

@ -11,6 +11,7 @@
./liquidprompt.nix
./listadmin.nix
./mail.nix
./mopidy.nix
./neovim.nix
./newsboat.nix
./taskwarrior.nix