2024-12-02 21:12:45 +03:00
|
|
|
# NOTE: Login to contaier, run passwd and use that root/pw combo for administration. `AllowFrom = all` doesn't seem to work.
|
|
|
|
# ipp://10.0.0.10
|
|
|
|
# Pantum M6500W-Series
|
2024-12-18 09:40:11 +03:00
|
|
|
{ __findFile, pkgs, ... }@args:
|
|
|
|
let
|
|
|
|
package = pkgs.callPackage <package/print> args;
|
|
|
|
in
|
2024-12-02 21:12:45 +03:00
|
|
|
{
|
2024-12-18 09:40:11 +03:00
|
|
|
services.printing = {
|
|
|
|
enable = true;
|
|
|
|
allowFrom = [ "all" ];
|
|
|
|
browsing = true;
|
|
|
|
defaultShared = true;
|
|
|
|
drivers = [ package ];
|
|
|
|
listenAddresses = [ "0.0.0.0:631" ];
|
|
|
|
startWhenNeeded = true;
|
|
|
|
stateless = false;
|
|
|
|
webInterface = true;
|
|
|
|
};
|
2024-12-02 21:12:45 +03:00
|
|
|
}
|