From 1cb78494f3022fe9d808d070507bddf552c64753 Mon Sep 17 00:00:00 2001 From: Casper Date: Wed, 18 Dec 2024 15:21:28 -0700 Subject: Initial commit, new repo --- torrenting/create-torrenting-qubes.top | 6 ++++++ torrenting/qvm-app.sls | 15 +++++++++++++++ torrenting/qvm-tmpl.sls | 5 +++++ torrenting/tmpl-pkgs.sls | 9 +++++++++ 4 files changed, 35 insertions(+) create mode 100644 torrenting/create-torrenting-qubes.top create mode 100644 torrenting/qvm-app.sls create mode 100644 torrenting/qvm-tmpl.sls create mode 100644 torrenting/tmpl-pkgs.sls (limited to 'torrenting') diff --git a/torrenting/create-torrenting-qubes.top b/torrenting/create-torrenting-qubes.top new file mode 100644 index 0000000..d9704d5 --- /dev/null +++ b/torrenting/create-torrenting-qubes.top @@ -0,0 +1,6 @@ +user: + dom0: + - torrenting.qvm-app + - torrenting.qvm-tmpl + tmpl-torrenting: + - torrenting.tmpl-pkgs diff --git a/torrenting/qvm-app.sls b/torrenting/qvm-app.sls new file mode 100644 index 0000000..d4b9da1 --- /dev/null +++ b/torrenting/qvm-app.sls @@ -0,0 +1,15 @@ +torrenting--create-app-qube: + qvm.vm: + - name: bitz + - present: + - template: tmpl-torrenting + - label: red + - prefs: + - label: red + - netvm: sys-mullvad + - features: + - set: + - menu-items: org.qbittorrent.qBittorrent.desktop thunar.desktop xfce4-terminal.desktop + - require: + - qvm: torrenting--create-template + diff --git a/torrenting/qvm-tmpl.sls b/torrenting/qvm-tmpl.sls new file mode 100644 index 0000000..b521c3a --- /dev/null +++ b/torrenting/qvm-tmpl.sls @@ -0,0 +1,5 @@ +torrenting--create-template: + qvm.clone: + - name: tmpl-torrenting + - source: debian-12-minimal + diff --git a/torrenting/tmpl-pkgs.sls b/torrenting/tmpl-pkgs.sls new file mode 100644 index 0000000..d6aadaf --- /dev/null +++ b/torrenting/tmpl-pkgs.sls @@ -0,0 +1,9 @@ +torrenting--install-apps: + pkg.installed: + - pkgs: + - qubes-core-agent-passwordless-root + - qubes-core-agent-networking + - qubes-core-agent-thunar + - qubes-mgmt-salt-vm-connector + - qbittorrent + -- cgit v1.2.3