summaryrefslogtreecommitdiff
path: root/irc
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 /irc
Initial commit, new repo
Diffstat (limited to 'irc')
-rw-r--r--irc/create-irc-qubes.top6
-rw-r--r--irc/qvm-app.sls12
-rw-r--r--irc/qvm-tmpl.sls4
-rw-r--r--irc/tmpl-pkgs.sls8
4 files changed, 30 insertions, 0 deletions
diff --git a/irc/create-irc-qubes.top b/irc/create-irc-qubes.top
new file mode 100644
index 0000000..4cfe250
--- /dev/null
+++ b/irc/create-irc-qubes.top
@@ -0,0 +1,6 @@
+user:
+ dom0:
+ - irc.qvm-app
+ - irc.qvm-tmpl
+ tmpl-irc:
+ - irc.tmpl-pkgs
diff --git a/irc/qvm-app.sls b/irc/qvm-app.sls
new file mode 100644
index 0000000..081b5c6
--- /dev/null
+++ b/irc/qvm-app.sls
@@ -0,0 +1,12 @@
+irc--create-app-qube:
+ qvm.vm:
+ - name: irc
+ - present:
+ - template: tmpl-irc
+ - label: orange
+ - netvm: sys-whonix
+ - features:
+ - set:
+ - menu-items: io.github.Hexchat.desktop
+ - require:
+ - qvm: irc--create-template
diff --git a/irc/qvm-tmpl.sls b/irc/qvm-tmpl.sls
new file mode 100644
index 0000000..f5a3e3c
--- /dev/null
+++ b/irc/qvm-tmpl.sls
@@ -0,0 +1,4 @@
+irc--create-template:
+ qvm.clone:
+ - name: tmpl-irc
+ - source: debian-12-minimal
diff --git a/irc/tmpl-pkgs.sls b/irc/tmpl-pkgs.sls
new file mode 100644
index 0000000..f483b6c
--- /dev/null
+++ b/irc/tmpl-pkgs.sls
@@ -0,0 +1,8 @@
+irc--install-apps:
+ pkg.installed:
+ - pkgs:
+ - qubes-core-agent-passwordless-root
+ - qubes-mgmt-salt-vm-connector
+ - qubes-core-agent-networking
+ - qubes-core-agent-thunar
+ - hexchat