nixos/dafoe/services/printing.nix
Leon Vatthauer 61ca79dbd1
Revert
This reverts commit 1219865a7f.
2024-06-17 17:32:13 +02:00

20 lines
405 B
Nix

{ pkgs, ... }:
{
# Enable CUPS to print documents.
services.avahi = {
enable = true;
publish.enable = true;
publish.userServices = true;
};
services.printing = {
enable = true;
drivers = [ pkgs.splix ];
browsing = true;
listenAddresses = [ "*:631" ];
allowFrom = [ "all" ];
defaultShared = true;
extraConf = ''
BrowseLocalProtocols all
'';
};
}