From 07688be36b479caa4843f064e850adde26cd3508 Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Wed, 29 Nov 2023 20:09:52 +0000 Subject: [PATCH] Enable mdns publishing on gallus and starlight --- sets/laptop.nix | 1 + sets/workstation.nix | 6 +++++- system/gallus/default.nix | 5 ++++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/sets/laptop.nix b/sets/laptop.nix index 03964bc..bad1b54 100644 --- a/sets/laptop.nix +++ b/sets/laptop.nix @@ -3,6 +3,7 @@ { imports = [ ./wifi.nix ]; + services.avahi.publish.enable = false; services.upower.enable = true; programs.light.enable = true; users.users.artemis.extraGroups = [ "video" ]; diff --git a/sets/workstation.nix b/sets/workstation.nix index 04c3b66..e3485d1 100644 --- a/sets/workstation.nix +++ b/sets/workstation.nix @@ -1,4 +1,4 @@ -{ pkgs, inputs, ... }@args: +{ pkgs, lib, inputs, ... }@args: { imports = [ @@ -27,6 +27,10 @@ avahi = { enable = true; nssmdns = true; + publish = { + enable = lib.mkDefault true; + addresses = true; + }; }; flatpak.enable = true; pcscd.enable = true; diff --git a/system/gallus/default.nix b/system/gallus/default.nix index 06d508e..ac6e935 100644 --- a/system/gallus/default.nix +++ b/system/gallus/default.nix @@ -36,7 +36,10 @@ services.avahi = { enable = true; nssmdns = true; - publish.enable = true; + publish = { + enable = true; + addresses = true; + }; }; # Requires a lot of dependencies we don't use