From 02f5e4b95370728f226ee67726ff5bf923ca8550 Mon Sep 17 00:00:00 2001 From: Doloro1978 Date: Wed, 12 Nov 2025 21:07:02 +0000 Subject: [PATCH] clean(wivrn) --- nix/modules/wivrn/nixos.nix | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/nix/modules/wivrn/nixos.nix b/nix/modules/wivrn/nixos.nix index 7a057c9..c6a54ca 100644 --- a/nix/modules/wivrn/nixos.nix +++ b/nix/modules/wivrn/nixos.nix @@ -40,15 +40,20 @@ in options.modules.wivrn = { enable = lib.mkEnableOption "Wivrn configuration module"; }; - # whole blender config including addons is too fat to include here config = lib.mkIf cfg.enable { - services.wivrn = { - enable = true; - package = wivrn_override; - openFirewall = true; - defaultRuntime = true; + services = { + wivrn = { + enable = true; + package = wivrn_override; + openFirewall = true; + defaultRuntime = true; + }; + avahi = { + enable = true; + publish.enable = true; + publish.userServices = true; + }; }; + programs.adb.enable = true; }; - # nix'ing a blender config is most likely not possible - # could probs install blender addons through nix since they are fat fat mega fat to install TODO }