hermes+phoebe: Enable avahi+mdns
For device discovery over local network. Trying this out because ESPHome is not able to locate wirelessly connected devices for OTA updates.
This commit is contained in:
parent
06bcd2b6d8
commit
b543e8f5e9
2 changed files with 10 additions and 0 deletions
|
@ -65,6 +65,7 @@
|
|||
./modules/fonts.nix
|
||||
./modules/plasma-desktop.nix
|
||||
./modules/audio.nix
|
||||
./modules/dev-common.nix
|
||||
|
||||
# Host-specific config
|
||||
./hosts/hermes/configuration.nix
|
||||
|
@ -97,6 +98,7 @@
|
|||
./modules/fonts.nix
|
||||
./modules/plasma-desktop.nix
|
||||
./modules/audio.nix
|
||||
./modules/dev-common.nix
|
||||
|
||||
# Host-specific config
|
||||
nixos-hardware.nixosModules.gpd-micropc
|
||||
|
|
8
modules/dev-common.nix
Normal file
8
modules/dev-common.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
services.avahi = {
|
||||
enable = true;
|
||||
nssmdns = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
}
|
Reference in a new issue