shaker/gpg/create.sls

32 lines
560 B
Plaintext
Raw Normal View History

include:
- gpg.clone
qvm-present-id:
qvm.present:
2022-05-20 08:06:19 -04:00
- name: sys-gpg
- template: template-gpg
- label: gray
qvm-prefs-id:
qvm.prefs:
2022-05-20 08:06:19 -04:00
- name: sys-gpg
- netvm: none
- memory: 400
- maxmem: 800
- vcpus: 2
qvm-features-id:
qvm.features:
2022-05-20 08:06:19 -04:00
- name: sys-gpg
- disable:
- service.cups
- service.cups-browsed
2022-05-20 08:06:19 -04:00
'qvm-volume extend sys-gpg:private 10G' :
cmd.run
update_file:
file.prepend:
2022-05-15 11:14:04 -04:00
- name: '/etc/qubes/policy.d/30-user.policy'
2022-05-20 08:06:19 -04:00
- text: 'qubes.Gpg * @anyvm @anyvm ask default_target=sys-gpg'