Stop printing from timing out (avahi is broken)
diff --git a/modules/printing.nix b/modules/printing.nix
index 0dabf5c..848b61c 100644
--- a/modules/printing.nix
+++ b/modules/printing.nix
@@ -4,12 +4,16 @@
services = {
printing = {
enable = true;
- drivers = with pkgs; [hplip];
- };
+ drivers = with pkgs; [foomatic-filters hplip cups-filters];
+ browsing = true;
+ browsedConf = ''
+ BrowseDNSSDSubTypes _cups,_print
+ BrowseLocalProtocols all
+ BrowseRemoteProtocols all
+ CreateIPPPrinterQueues All
- avahi = {
- enable = true;
- nssmdns = true;
+ BrowseProtocols all
+ '';
};
};