diff --git a/flake.lock b/flake.lock index 898d4a4..8b7b2bf 100644 --- a/flake.lock +++ b/flake.lock @@ -661,11 +661,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1733597833, - "narHash": "sha256-R9KDyKQo9VfaV5JKr/KHwTBv/Laipzr+L2pTW9KbmbU=", - "ref": "refs/heads/repology", - "rev": "9aa93171a30d381c4e98c50ff5d9f9cc5a4906f8", - "revCount": 718297, + "lastModified": 1733780082, + "narHash": "sha256-Y6UzC+ZqoeBaIQQkVLEQn8bbcoYfbt6H6VAMvNkKuvE=", + "ref": "refs/heads/shairport-sync-conf", + "rev": "7837a25f8579028e967f5d39e18268458bf481a7", + "revCount": 719714, "type": "git", "url": "file:///home/jopejoe1/Documents/nixpkgs" }, diff --git a/systems/omoikane/default.nix b/systems/omoikane/default.nix index d275438..d3c68fb 100644 --- a/systems/omoikane/default.nix +++ b/systems/omoikane/default.nix @@ -65,7 +65,31 @@ udev.packages = [ pkgs.yubikey-personalization ]; fwupd.enable = true; libinput.enable = true; - repology.enable = true; + #repology.enable = true; + shairport-sync = { + enable = true; + package = pkgs.shairport-sync-airplay2; + arguments = "-o pw -v"; + settings = { + general = { + name = "NixOS Shairport"; + }; + metadata = { + enabled = "yes"; + include_cover_art = "yes"; + cover_art_cache_directory = "/tmp/shairport-sync/.cache/coverart"; + pipe_name = "/tmp/shairport-sync-metadata"; + pipe_timeout = 5000; + }; + mqtt = { + enabled = "yes"; + hostname = "mqtt.server.domain.example"; + port = 1883; + publish_parsed = "yes"; + publish_cover = "yes"; + }; + }; + }; }; time.timeZone = "Europe/Berlin";