From e80cf71f04f9e61ac9fe0c4690c793eef0e32ad4 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sun, 30 Aug 2020 13:20:57 +0200 Subject: [PATCH] cups: Add avahi --- modules/cups.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/modules/cups.nix b/modules/cups.nix index 73cb34b..23f3c0b 100644 --- a/modules/cups.nix +++ b/modules/cups.nix @@ -1,10 +1,13 @@ { pkgs, ... }: { - services.printing = { - enable = true; - drivers = with pkgs; [ - gutenprint - ]; + services = { + printing = { + enable = true; + drivers = with pkgs; [ + gutenprint + ]; + }; + avahi.enable = true; }; }