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

18
flake.lock generated
View file

@ -7,11 +7,11 @@
]
},
"locked": {
"lastModified": 1699748018,
"narHash": "sha256-28rwXnxgscLkeII6wj44cuP6RuiynhzZSa424ZwGt/s=",
"lastModified": 1700118404,
"narHash": "sha256-XkqpZpVoy1FV7UbiLkP+fQxxv/6KnwLYkFEHgE8z2IQ=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "50e582b9f91e409ffd2e134017445d376659b32e",
"rev": "c1a033122df8a3c74fda3780c83a104a7d60873c",
"type": "github"
},
"original": {
@ -23,11 +23,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1699701045,
"narHash": "sha256-mDzUXK7jNO/utInWpSWEX1NgEEunVIpJg+LyPsDTfy0=",
"lastModified": 1699997707,
"narHash": "sha256-ugb+1TGoOqqiy3axyEZpfF6T4DQUGjfWZ3Htry1EfvI=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "b689465d0c5d88e158e7d76094fca08cc0223aad",
"rev": "5689f3ebf899f644a1aabe8774d4f37eb2f6c2f9",
"type": "github"
},
"original": {
@ -39,11 +39,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1699099776,
"narHash": "sha256-X09iKJ27mGsGambGfkKzqvw5esP1L/Rf8H3u3fCqIiU=",
"lastModified": 1699963925,
"narHash": "sha256-LE7OV/SwkIBsCpAlIPiFhch/J+jBDGEZjNfdnzCnCrY=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "85f1ba3e51676fa8cc604a3d863d729026a6b8eb",
"rev": "bf744fe90419885eefced41b3e5ae442d732712d",
"type": "github"
},
"original": {

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