mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-04-20 03:34:07 +02:00
shairport sync test
This commit is contained in:
parent
3dcff28b4e
commit
6d81c885e7
2 changed files with 30 additions and 6 deletions
10
flake.lock
generated
10
flake.lock
generated
|
@ -661,11 +661,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1733597833,
|
"lastModified": 1733780082,
|
||||||
"narHash": "sha256-R9KDyKQo9VfaV5JKr/KHwTBv/Laipzr+L2pTW9KbmbU=",
|
"narHash": "sha256-Y6UzC+ZqoeBaIQQkVLEQn8bbcoYfbt6H6VAMvNkKuvE=",
|
||||||
"ref": "refs/heads/repology",
|
"ref": "refs/heads/shairport-sync-conf",
|
||||||
"rev": "9aa93171a30d381c4e98c50ff5d9f9cc5a4906f8",
|
"rev": "7837a25f8579028e967f5d39e18268458bf481a7",
|
||||||
"revCount": 718297,
|
"revCount": 719714,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "file:///home/jopejoe1/Documents/nixpkgs"
|
"url": "file:///home/jopejoe1/Documents/nixpkgs"
|
||||||
},
|
},
|
||||||
|
|
|
@ -65,7 +65,31 @@
|
||||||
udev.packages = [ pkgs.yubikey-personalization ];
|
udev.packages = [ pkgs.yubikey-personalization ];
|
||||||
fwupd.enable = true;
|
fwupd.enable = true;
|
||||||
libinput.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";
|
time.timeZone = "Europe/Berlin";
|
||||||
|
|
Loading…
Add table
Reference in a new issue