summaryrefslogtreecommitdiff
path: root/chromium
diff options
context:
space:
mode:
authorCasper <me@skylarcloud.xyz>2024-12-18 15:21:28 -0700
committerCasper <me@skylarcloud.xyz>2024-12-18 15:21:28 -0700
commit1cb78494f3022fe9d808d070507bddf552c64753 (patch)
tree5c827daee442e211941bed7cc89decc95f8efbd7 /chromium
Initial commit, new repo
Diffstat (limited to 'chromium')
-rw-r--r--chromium/create-chromium-qubes.top7
-rw-r--r--chromium/qvm-app.sls14
-rw-r--r--chromium/qvm-tmpl.sls4
-rw-r--r--chromium/tmpl-pkgs.sls13
4 files changed, 38 insertions, 0 deletions
diff --git a/chromium/create-chromium-qubes.top b/chromium/create-chromium-qubes.top
new file mode 100644
index 0000000..7242c42
--- /dev/null
+++ b/chromium/create-chromium-qubes.top
@@ -0,0 +1,7 @@
+user:
+ dom0:
+ - chromium.qvm-app
+ - chromium.qvm-tmpl
+ tmpl-chromium:
+ - chromium.tmpl-pkgs
+ - bluetooth-pkgs
diff --git a/chromium/qvm-app.sls b/chromium/qvm-app.sls
new file mode 100644
index 0000000..2e415df
--- /dev/null
+++ b/chromium/qvm-app.sls
@@ -0,0 +1,14 @@
+chromium--create-youtube-qube:
+ qvm.vm:
+ - name: web-yt
+ - present:
+ - template: tmpl-chromium
+ - label: blue
+ - prefs:
+ - label: blue
+ - netvm: sys-mullvad
+ - features:
+ - set:
+ - menu-items: chromium.desktop xfce4-terminal.desktop thunar.desktop
+ - require:
+ - qvm: chromium--create-template
diff --git a/chromium/qvm-tmpl.sls b/chromium/qvm-tmpl.sls
new file mode 100644
index 0000000..657b47f
--- /dev/null
+++ b/chromium/qvm-tmpl.sls
@@ -0,0 +1,4 @@
+chromium--create-template:
+ qvm.clone:
+ - name: tmpl-chromium
+ - source: debian-12-minimal
diff --git a/chromium/tmpl-pkgs.sls b/chromium/tmpl-pkgs.sls
new file mode 100644
index 0000000..41282e1
--- /dev/null
+++ b/chromium/tmpl-pkgs.sls
@@ -0,0 +1,13 @@
+chromium--install-apps:
+ pkg.installed:
+ - pkgs:
+ - qubes-core-agent-passwordless-root
+ - qubes-mgmt-salt-vm-connector
+ - qubes-core-agent-networking
+ - qubes-core-agent-thunar
+ - qubes-usb-proxy
+ - pulseaudio-qubes
+ - xfce4-terminal
+ - chromium-common
+ - chromium-driver
+ - chromium