Enable mdns publishing on gallus and starlight

This commit is contained in:
Artemis Tosini 2023-11-29 20:09:52 +00:00
parent e06eacdd3a
commit 07688be36b
Signed by: artemist
GPG key ID: EE5227935FE3FF18
3 changed files with 10 additions and 2 deletions

View file

@ -3,6 +3,7 @@
{ {
imports = [ ./wifi.nix ]; imports = [ ./wifi.nix ];
services.avahi.publish.enable = false;
services.upower.enable = true; services.upower.enable = true;
programs.light.enable = true; programs.light.enable = true;
users.users.artemis.extraGroups = [ "video" ]; users.users.artemis.extraGroups = [ "video" ];

View file

@ -1,4 +1,4 @@
{ pkgs, inputs, ... }@args: { pkgs, lib, inputs, ... }@args:
{ {
imports = [ imports = [
@ -27,6 +27,10 @@
avahi = { avahi = {
enable = true; enable = true;
nssmdns = true; nssmdns = true;
publish = {
enable = lib.mkDefault true;
addresses = true;
};
}; };
flatpak.enable = true; flatpak.enable = true;
pcscd.enable = true; pcscd.enable = true;

View file

@ -36,7 +36,10 @@
services.avahi = { services.avahi = {
enable = true; enable = true;
nssmdns = true; nssmdns = true;
publish.enable = true; publish = {
enable = true;
addresses = true;
};
}; };
# Requires a lot of dependencies we don't use # Requires a lot of dependencies we don't use