Enable avahi hostname resolution.

This commit is contained in:
Fern Garden 2025-06-28 13:12:48 +08:00
parent 5e038fa148
commit 764aaf9f40

View file

@ -121,10 +121,11 @@
}; };
}; };
# Use ghostty for the "open in terminal" option in file manager.
programs.nautilus-open-any-terminal = { programs.nautilus-open-any-terminal = {
enable = true; enable = true;
terminal = "ghostty"; terminal = "ghostty";
}; # Use ghostty as "open in terminal" option in file manager. };
# Run electron apps under wayland. # Run electron apps under wayland.
environment.sessionVariables.NIXOS_OZONE_WL = "1"; environment.sessionVariables.NIXOS_OZONE_WL = "1";
@ -133,6 +134,9 @@
programs.gamemode.enable = true; programs.gamemode.enable = true;
programs.steam.enable = true; programs.steam.enable = true;
# Allow avahi hostname resolution.
services.avahi.nssmdns4 = true;
# Enable CUPS to print documents. # Enable CUPS to print documents.
services.printing.enable = true; services.printing.enable = true;