From a1f033c4cb3dd9de3c10013b795531c24d58074d Mon Sep 17 00:00:00 2001 From: dadada Date: Tue, 15 Nov 2022 12:08:10 +0100 Subject: [PATCH] enable avahi --- nixos/gorgon/configuration.nix | 2 ++ nixos/modules/profiles/laptop.nix | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/nixos/gorgon/configuration.nix b/nixos/gorgon/configuration.nix index b35e3d9..c4cd428 100644 --- a/nixos/gorgon/configuration.nix +++ b/nixos/gorgon/configuration.nix @@ -60,6 +60,8 @@ in programs.adb.enable = true; + services.avahi.enable = true; + # Enable CUPS to print documents. services.printing = { enable = true; diff --git a/nixos/modules/profiles/laptop.nix b/nixos/modules/profiles/laptop.nix index ad8a84c..f6f7935 100644 --- a/nixos/modules/profiles/laptop.nix +++ b/nixos/modules/profiles/laptop.nix @@ -53,7 +53,7 @@ with lib; { services.fstrim.enable = mkDefault true; - services.avahi.enable = false; + services.avahi.enable = mkDefault false; networking.networkmanager.enable = mkDefault true; networking.firewall.enable = mkDefault true;