nixpkgs/nixos/modules/hardware
Yarny0 afb0ad038c nixos/hardware/printers: fix ppdOptions of ensured printers
Commit a52e27d4f6
changed the `ensurePrinter` mechanism such that it uses
`lib.cli.toGNUCommandLineShell` to assemble the
`lpadmin` command line that creates the required printer.
Before that commit, the command line contained
single quotes (')to protect certain options from being
(mis-)interpreted by the shell.
The new mechanism no longer needs those quotes as
`lib.cli.toGNUCommandLineShell` takes care of quoting/escaping.
Unfortunatelly, the commit missed the
quotes around the `-o` command line part.
`lib.cli.toGNUCommandLineShell` now properly escapes
those quotes, thereby including them in the effective
command line arguments that are passed to `lpadmin`.
The result is that no option is applied anymore.

The commit at hand simply removes the superfluous quotes.
With this change, options are again properly applied as before.

(cherry picked from commit d93fb1bd10)
2024-06-02 15:59:27 +00:00
..
cpu nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
keyboard nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
network nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
onlykey nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
raid nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
sensor nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
video nixos/intel-gpu-tools: init basic security wrapper 2024-05-04 19:26:41 -04:00
acpilight.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
all-firmware.nix nixos/firmware: Omit removed rtl8723-bs package 2023-12-18 10:49:40 -08:00
bladeRF.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
brillo.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
ckb-next.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
corectrl.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
decklink.nix nixos/decklink: init 2023-09-09 19:45:50 +02:00
device-tree.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
digitalbitbox.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
flipperzero.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
flirc.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
gkraken.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
glasgow.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
gpgsmartcards.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
hackrf.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
i2c.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
infiniband.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
ksm.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
ledger.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
logitech.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
mcelog.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
new-lg4ff.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
nitrokey.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
opengl.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
openrazer.nix nixos/openrazer: properly rename mouseBatteryNotifier option 2024-05-05 23:22:07 +02:00
opentabletdriver.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
pcmcia.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
printers.nix nixos/hardware/printers: fix ppdOptions of ensured printers 2024-06-02 15:59:27 +00:00
rtl-sdr.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
saleae-logic.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
sata.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
steam-hardware.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
system-76.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
tuxedo-keyboard.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
ubertooth.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
uinput.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
uni-sync.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
usb-modeswitch.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
usb-storage.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
wooting.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
xone.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
xpadneo.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00