add uxplay config

This commit is contained in:
DannyDannyDanny 2024-06-30 18:06:12 +02:00
parent a6ea5773f8
commit 8ce8b0ee8a
2 changed files with 19 additions and 0 deletions

View file

@ -9,6 +9,7 @@
[ # Include the results of the hardware scan. [ # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
./tmux.nix ./tmux.nix
./uxplay.nix
]; ];
# Bootloader. # Bootloader.

18
nixos/uxplay.nix Normal file
View file

@ -0,0 +1,18 @@
# article / guide:
# https://taoa.io/posts/Setting-up-ipad-screen-mirroring-on-nixos
# https://gist.github.com/cmrfrd/fe8f61da076f8a4a751bf8fc8cb579a5
# also see: 24_nix_uxplay for script
{ config, pkgs, ... }:
{
services.avahi = {
nssmdns = true;
enable = true;
publish = {
enable = true;
userServices = true;
domain = true;
};
};
}