Skip to content

Commit

Permalink
Trick the Mopidy Home Manager module into using the overlayed version
Browse files Browse the repository at this point in the history
  • Loading branch information
jwillikers committed Nov 24, 2024
1 parent cbbec57 commit 0beda9a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion home-manager/_mixins/services/mopidy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ lib.mkIf (lib.elem username installFor && role == "piceiver") {
services.mopidy = {
enable = true;
extensionPackages = with pkgs; [
# Trick the NixOS module into using my overlay for Mopidy.
# Ha.
mopidy
mopidy-iris
mopidy-jellyfin
];
Expand All @@ -26,6 +29,9 @@ lib.mkIf (lib.elem username installFor && role == "piceiver") {
mixer_volume = 50;
output = "pipewiresink client-name=Mopidy target-object=snapserver stream-properties=\"props,application.id=mopidy,application.name=Mopidy,application.process.binary=mopidy,application.version=${lib.getVersion pkgs.mopidy},media.category=Playback,media.role=Music,media.type=Audio,session.suspend-timeout-seconds=0\"";
};
file = {
enabled = false;
};
http = {
enabled = true;
hostname = "::";
Expand All @@ -41,7 +47,7 @@ lib.mkIf (lib.elem username installFor && role == "piceiver") {
hostname = "jellyfin.lan.jwillikers.io";
username = "jordan";
# todo Use sops for password.
password = "your password here";
password = "I0DpLg45FF^t5N";
libraries = [
"Books"
"Music"
Expand Down

0 comments on commit 0beda9a

Please sign in to comment.