diff options
author | lassulus <git@lassul.us> | 2023-02-06 12:48:11 +0100 |
---|---|---|
committer | lassulus <git@lassul.us> | 2023-02-08 15:01:04 +0100 |
commit | 6c982d0487ae438b3766a6cf8a9c96fa2a2398a4 (patch) | |
tree | db1f8f305b8df9d67cf0cd21979068a11ab9277b | |
parent | 2a7501b66ccb71d30dc65f76a0a8d46daa88efe0 (diff) |
l print: enable avahi
-rw-r--r-- | lass/2configs/print.nix | 14 |
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; }; } |