Introduce colmena config and add shairport-sync host
This commit is contained in:
parent
10702979f1
commit
096f2ffa91
5 changed files with 68 additions and 2 deletions
config/hosts/audio
10
config/hosts/audio/configuration.nix
Normal file
10
config/hosts/audio/configuration.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
networking = {
|
||||
hostName = "audio";
|
||||
};
|
||||
|
||||
sound.enable = true;
|
||||
|
||||
system.stateVersion = "23.05";
|
||||
}
|
7
config/hosts/audio/default.nix
Normal file
7
config/hosts/audio/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./configuration.nix
|
||||
./shairport-sync.nix
|
||||
];
|
||||
}
|
8
config/hosts/audio/shairport-sync.nix
Normal file
8
config/hosts/audio/shairport-sync.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ ... }:
|
||||
{
|
||||
services.shairport-sync = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
arguments = "-vvv -o alsa -- -d plughw:1,0 -r 48000";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue