forked from CCCHH/nix-infra
17 lines
238 B
Nix
17 lines
238 B
Nix
|
{ config, pkgs, lib, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
let
|
||
|
|
||
|
cfg = config.ccchh.services.audio;
|
||
|
|
||
|
in
|
||
|
|
||
|
{
|
||
|
config = mkIf cfg.enable {
|
||
|
# Disable IPv6, since Shairport-Sync doesn't work with IPv6. Unclear why.
|
||
|
networking.enableIPv6 = false;
|
||
|
};
|
||
|
}
|