feat(nixos): add UxPlay AirPlay receiver to sunken-ship 📡
Enable Avahi for mDNS discovery and open firewall ports for AirPlay mirroring (TCP 7000-7100, UDP 5353/6000-6001/7011).
This commit is contained in:
parent
d8e5cbe26a
commit
e2b820aac0
1 changed files with 14 additions and 0 deletions
|
|
@ -61,8 +61,22 @@ in
|
|||
environment.systemPackages = with pkgs; [
|
||||
git # clone/bootstrap and dotfiles-rebuild timer
|
||||
brightnessctl # manual backlight; replaces removed `light` from nixpkgs
|
||||
uxplay # AirPlay mirroring receiver
|
||||
];
|
||||
|
||||
# Avahi (mDNS) — required for AirPlay discovery.
|
||||
services.avahi = {
|
||||
enable = true;
|
||||
nssmdns4 = true;
|
||||
publish = { enable = true; userServices = true; };
|
||||
};
|
||||
|
||||
# Open firewall for AirPlay (mDNS + UxPlay default ports).
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [ 7000 7001 7100 ];
|
||||
allowedUDPPorts = [ 5353 6000 6001 7011 ];
|
||||
};
|
||||
|
||||
# Pull dotfiles and rebuild if the repo has new commits.
|
||||
systemd.services.dotfiles-rebuild = {
|
||||
description = "Pull dotfiles and run nixos-rebuild if repo changed";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue