nix/host/x86_64-linux/home/Cups.nix

21 lines
526 B
Nix
Raw Permalink Normal View History

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
{ __findFile, pkgs, ... }@args:
let
package = pkgs.callPackage <package/print> args;
in
2024-12-02 21:12:45 +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
}