shaker/gpg/create.sls
2022-05-15 15:14:04 +00:00

32 lines
540 B
Plaintext

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