summaryrefslogtreecommitdiff
path: root/hostnix
diff options
context:
space:
mode:
authorJoe Mou <dev@mou.fo>2024-02-18 06:24:29 -0500
committerJoe Mou <dev@mou.fo>2024-02-18 06:28:31 -0500
commit0e05552c1c9d0d0baee4640a5621b7691fd2a1e0 (patch)
tree892a2900f30c79ee1d25718b2e73587e77d5e6e1 /hostnix
parent5e5ee03e0d37df0d5e0cb32f3d568a7b29e9507f (diff)
Enable mDNS
Diffstat (limited to 'hostnix')
-rw-r--r--hostnix/elmo/system.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/hostnix/elmo/system.nix b/hostnix/elmo/system.nix
index 871999d..b8d5682 100644
--- a/hostnix/elmo/system.nix
+++ b/hostnix/elmo/system.nix
@@ -6,12 +6,21 @@
boot.tmp.useTmpfs = true;
+ time.timeZone = "America/New_York";
+
networking.hostName = "elmo";
networking.domain = "mou.fo";
networking.networkmanager.enable = true;
- time.timeZone = "America/New_York";
+ services.avahi = {
+ enable = true;
+ nssmdns = true;
+ publish = {
+ enable = true;
+ addresses = true;
+ };
+ };
# https://github.com/NixOS/nixpkgs/issues/54707#issuecomment-1132907191
systemd.services.nix-daemon = {