summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-02-06 12:48:11 +0100
committerlassulus <git@lassul.us>2023-02-08 15:01:04 +0100
commit6c982d0487ae438b3766a6cf8a9c96fa2a2398a4 (patch)
treedb1f8f305b8df9d67cf0cd21979068a11ab9277b /lass/2configs
parent2a7501b66ccb71d30dc65f76a0a8d46daa88efe0 (diff)
l print: enable avahi
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/print.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/lass/2configs/print.nix b/lass/2configs/print.nix
index c2b3e8377..5769f9b15 100644
--- a/lass/2configs/print.nix
+++ b/lass/2configs/print.nix
@@ -6,5 +6,19 @@
pkgs.foomatic-filters
pkgs.gutenprint
];
+ browsing = true;
+ browsedConf = ''
+ BrowseDNSSDSubTypes _cups,_print
+ BrowseLocalProtocols all
+ BrowseRemoteProtocols all
+ CreateIPPPrinterQueues All
+
+ BrowseProtocols all
+ '';
+ };
+ services.avahi = {
+ enable = true;
+ openFirewall = true;
+ nssmdns = true;
};
}