nixpkgs-suyu/nixos/modules/services
Yarny0 49a129ab40 nixos/cups-pdf: init
Some implementation notes:

* cups-pdf, and cups-pdf-to-pdf,
  support multiple instances with differing configurations.
  This can be accomplished by creating multiple configuration
  files with names `cups-pdf-{instance-name}.conf`.
  The Nixos module supports this feature by providing
  the option `instances` which is an attrset
  mapping instance names to instance configurations.
  To simplify module usage,
  an instance `pdf` is created by default.

* To use a cups-pdf instance, one also needs
  a cups queue that connects to the backend.
  The module does this automatically by default,
  using the `hardware.printers.ensurePrinters`.
  It uses one of the ppd files which is
  included in the cups-pdf package.
  If this isn't desired (e.g. because printer queues
  should be created by hand, or configured differently),
  the `installPrinter` option can be turned off
  (for each instance separately).

* In our configuration, cups calls external programs
  using the `cups` account and the `lp` group.
  cups-pdf refuses to operate without root privileges,
  likely because it needs to change the
  ownership of it output pdf files so that
  (only) the print job's owner can access them.

  The module installs a suid root wrapper for the backend
  program that can only be called by the `lp` group.
  The cups-pdf package is replaced by a wrapper
  package which calls the suid root wrapper.
  So cups can call its backend programs as usual.
2022-12-09 22:20:09 +01:00
..
admin
amqp
audio treewide: switch to port type for nixos modules 2022-12-08 00:00:00 +01:00
backup Add BORG_RSH entry under an environment option 2022-12-07 01:00:59 +01:00
blockchain/ethereum nixos/erigon: add extraArgs 2022-11-28 08:38:50 -05:00
cluster treewide: switch to port type for nixos modules 2022-12-08 00:00:00 +01:00
computing treewide: use mkEnableOption in nixos modules 2022-11-10 09:30:00 +01:00
continuous-integration treewide: switch to port type for nixos modules 2022-12-08 00:00:00 +01:00
databases nixos/cassandra: Prepare for cassandra 4 2022-12-06 14:09:38 +01:00
desktops nixos/gnome/at-spi2-core: force GTK_A11Y=none when disabled 2022-11-20 01:50:38 +01:00
development treewide: switch to port type for nixos modules 2022-12-08 00:00:00 +01:00
display-managers
editors
finance
games treewide: switch to port type for nixos modules 2022-12-01 22:30:00 +01:00
hardware supergfxd: fix config format 2022-12-08 11:46:10 +03:00
home-automation nixos/home-assistant: update bluetooth components 2022-12-08 02:36:55 +01:00
logging treewide: use mkEnableOption in nixos modules 2022-11-10 09:30:00 +01:00
mail nixos/mailman: remove trailing slash from /static location 2022-12-03 13:03:26 +01:00
matrix nixos/mautrix-telegram: document JSON env var config 2022-11-21 08:46:52 -05:00
misc Merge pull request #204474 from peperunas/libreddit 2022-12-08 19:49:11 +08:00
monitoring treewide: switch to port type for nixos modules 2022-12-08 00:00:00 +01:00
network-filesystems treewide: switch to port type for nixos modules 2022-12-08 00:00:00 +01:00
networking treewide: switch to port type for nixos modules 2022-12-08 00:00:00 +01:00
printing nixos/cups-pdf: init 2022-12-09 22:20:09 +01:00
scheduling
search treewide: switch to port type for nixos modules 2022-12-08 00:00:00 +01:00
security Merge pull request #199395 from owm111/physlock-m 2022-12-01 14:51:50 +01:00
system nixos/dbus: support dbus-broker 2022-11-22 09:36:22 +08:00
torrent rmem_max: define merge function 2022-11-08 10:30:10 -05:00
tracing
ttys
video nixos/unifi-video: openFirewall default to false 2022-12-05 12:03:09 +01:00
wayland
web-apps treewide: switch to port type for nixos modules 2022-12-08 00:00:00 +01:00
web-servers treewide: switch to port type for nixos modules 2022-12-08 00:00:00 +01:00
x11 cinnamon.mint-artwork: 1.7.2 -> 1.7.3 2022-12-06 23:53:47 +08:00