22 lines
643 B
Nix
22 lines
643 B
Nix
{ config, lib, ... }:
|
|
lib.mkIf config.jalr.gui.enable {
|
|
# allow port for reMarkable screen sharing
|
|
networking.firewall.allowedUDPPorts = [ 5901 ];
|
|
|
|
#services.printing.cups-pdf.instances.remarkable = {
|
|
# settings.Out = "socket://remarkable"
|
|
#};
|
|
|
|
# https://github.com/Evidlo/remarkable_printer needs to be
|
|
# installed on the reMarkable
|
|
hardware.printers.ensurePrinters = [
|
|
{
|
|
name = "remarkable";
|
|
description = "reMarkable virtual printer";
|
|
deviceUri = "socket://remarkable";
|
|
#location = "/var/spool/cups-pdf-pdf/users/\${USER}";
|
|
model = "CUPS-PDF_opt.ppd";
|
|
ppdOptions = { };
|
|
}
|
|
];
|
|
}
|