From 764aaf9f40d17517363b5a20587769fb43edcf6d Mon Sep 17 00:00:00 2001 From: Fern Garden Date: Sat, 28 Jun 2025 13:12:48 +0800 Subject: [PATCH] Enable avahi hostname resolution. --- configuration.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index 03c5c2a..c8b7879 100755 --- a/configuration.nix +++ b/configuration.nix @@ -121,10 +121,11 @@ }; }; + # Use ghostty for the "open in terminal" option in file manager. programs.nautilus-open-any-terminal = { enable = true; terminal = "ghostty"; - }; # Use ghostty as "open in terminal" option in file manager. + }; # Run electron apps under wayland. environment.sessionVariables.NIXOS_OZONE_WL = "1"; @@ -133,6 +134,9 @@ programs.gamemode.enable = true; programs.steam.enable = true; + # Allow avahi hostname resolution. + services.avahi.nssmdns4 = true; + # Enable CUPS to print documents. services.printing.enable = true;