summaryrefslogtreecommitdiff
path: root/web/tmpl-pkgs.sls
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 /web/tmpl-pkgs.sls
Initial commit, new repo
Diffstat (limited to 'web/tmpl-pkgs.sls')
-rw-r--r--web/tmpl-pkgs.sls30
1 files changed, 30 insertions, 0 deletions
diff --git a/web/tmpl-pkgs.sls b/web/tmpl-pkgs.sls
new file mode 100644
index 0000000..f02112a
--- /dev/null
+++ b/web/tmpl-pkgs.sls
@@ -0,0 +1,30 @@
+web--tmpl-pkgs:
+ pkg.installed:
+ - pkgs:
+ - qubes-core-agent-passwordless-root
+ - qubes-mgmt-salt-vm-connector
+ - qubes-core-agent-networking
+ - qubes-core-agent-thunar
+ - pulseaudio-qubes
+
+{% if grains['os_family']|lower == 'debian' %}
+
+extrepo:
+ pkg.installed
+
+'http_proxy=http://127.0.0.1:8082 https_proxy=http://127.0.0.1:8082 extrepo enable librewolf':
+ cmd.run
+
+{% else %}
+
+'dnf config-manager --add-repo https://rpm.librewolf.net/librewolf-repo.repo':
+ cmd.run
+
+{% endif %}
+
+librewolf-updated:
+ pkg.uptodate:
+ - refresh: True
+
+librewolf:
+ pkg.installed