wip: dom0 top

This commit is contained in:
mustard 2025-10-20 22:43:22 +02:00
parent 4c37bca003
commit 26a13368d6
3 changed files with 46 additions and 0 deletions

3
salt/dom0.top Normal file
View file

@ -0,0 +1,3 @@
user:
dom0:
- dom0

View file

@ -0,0 +1,41 @@
{%- if grains.id == 'dom0' -%}
{% load_yaml as base_templates %}
qubes-templates-itl:
- fedora-42-minimal
qubes-templates-itl-testing:
- debian-13
- debian-13-minimal
- fedora-42-minimal
- fedora-42
qubes-templates-community-testing:
- kicksecure-17
{% endload %}
'{{ slsdotpath }}: install qubes base templates':
qvm.template_installed:
- names:
{%- for template in base_templates['qubes-templates-itl'] %}
- '{{ template }}'
{%- endfor %}
'{{ slsdotpath }}: install qubes testing templates':
qvm.template_installed:
- names:
{%- for template in base_templates['qubes-templates-itl-testing'] %}
- '{{ template }}'
{%- endfor %}
- fromrepo: 'qubes-templates-itl-testing'
'{{ slsdotpath }}: install qubes community testing templates':
qvm.template_installed:
- names:
{%- for template in base_templates['qubes-templates-community-testing'] %}
- '{{ template }}'
{%- endfor %}
- fromrepo: 'qubes-templates-community-testing'
{%- endif -%}
{#- vim: set syntax=salt.jinja.yaml ts=2 sw=2 sts=2 et : -#}

2
salt/dom0/init.sls Normal file
View file

@ -0,0 +1,2 @@
include:
- .base-templates