-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy pathsd-app.sls
More file actions
58 lines (54 loc) · 1.28 KB
/
sd-app.sls
File metadata and controls
58 lines (54 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# -*- coding: utf-8 -*-
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
##
# qvm.work
# ========
#
# Installs 'sd-app' AppVM, to persistently store SD data
# This VM has no network configured.
##
include:
- sd-workstation-template
- sd-upgrade-templates
sd-app-template:
qvm.vm:
- name: sd-app-buster-template
- clone:
- source: securedrop-workstation-buster
- label: yellow
- tags:
- add:
- sd-workstation
- sd-buster
- sd-workstation-updates
- require:
- sls: sd-workstation-template
- sls: sd-upgrade-templates
sd-app:
qvm.vm:
- name: sd-app
- present:
- label: yellow
- prefs:
- template: sd-app-buster-template
- netvm: ""
- tags:
- add:
- sd-client
- sd-workstation
- features:
- enable:
- service.paxctld
- require:
- qvm: sd-app-buster-template
# Ensure the Qubes menu is populated with relevant app entries,
# so that Nautilus/Files can be started via GUI interactions.
sd-app-template-sync-appmenus:
cmd.run:
- name: >
qvm-start --skip-if-running sd-app-buster-template &&
qvm-sync-appmenus sd-app-buster-template
- require:
- qvm: sd-app-buster-template
- onchanges:
- qvm: sd-app-buster-template