shaker/print/configure.sls

23 lines
519 B
Plaintext
Raw Normal View History

2021-02-11 10:38:08 -05:00
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
/rw/config/qubes-bind-dirs.d/50_user.conf:
file.append:
- text: |
binds+=( '/etc/cups/printers.conf' )
binds+=( '/etc/qubes-rpc/qubes.Print' )
- makedirs: True
2022-05-16 12:18:36 -04:00
create_qrexec:
file.managed:
- name: /rw/bind-dirs/etc/qubes-rpc/qubes.Print
- mode: 755
- user: root
- group: root
- makedirs: True
2021-02-11 10:38:08 -05:00
/rw/bind-dirs/etc/qubes-rpc/qubes.Print:
file.append:
- text: |
#!/bin/sh
exec socat STDIO TCP:localhost:631