From 8ce8b0ee8a651b8336ba299ad191b2d401fef2b6 Mon Sep 17 00:00:00 2001 From: DannyDannyDanny Date: Sun, 30 Jun 2024 18:06:12 +0200 Subject: [PATCH] :sparkles: add uxplay config --- nixos/configuration.nix | 1 + nixos/uxplay.nix | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 nixos/uxplay.nix diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 8063422..af7afb1 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -9,6 +9,7 @@ [ # Include the results of the hardware scan. ./hardware-configuration.nix ./tmux.nix + ./uxplay.nix ]; # Bootloader. diff --git a/nixos/uxplay.nix b/nixos/uxplay.nix new file mode 100644 index 0000000..e9612b0 --- /dev/null +++ b/nixos/uxplay.nix @@ -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; + }; + }; +}