Introduce colmena config and add shairport-sync host

This commit is contained in:
yuri 2023-09-11 21:40:35 +02:00 committed by julian
parent 10702979f1
commit 096f2ffa91
5 changed files with 68 additions and 2 deletions

View file

@ -0,0 +1,10 @@
{ pkgs, ... }:
{
networking = {
hostName = "audio";
};
sound.enable = true;
system.stateVersion = "23.05";
}

View file

@ -0,0 +1,7 @@
{ ... }:
{
imports = [
./configuration.nix
./shairport-sync.nix
];
}

View file

@ -0,0 +1,8 @@
{ ... }:
{
services.shairport-sync = {
enable = true;
openFirewall = true;
arguments = "-vvv -o alsa -- -d plughw:1,0 -r 48000";
};
}