-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpillar.example
More file actions
56 lines (56 loc) · 1.54 KB
/
pillar.example
File metadata and controls
56 lines (56 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# vim: sw=2 syntax=yaml:
{#
This configuration is required if you are going to use template creation
or desktop management states provided by the formula. Driver installation
has defaults and only requires configuration if you need to select packages
manually.
#}
nvidia-driver:
{% if grains['id'] == 'dom0' %}
create:
{#
item names can be pretty much anything you want, not just `fedora` and
`debian`. It is only used as a list of values to loop through when
creating and managing vms in dom0.
#}
debian:
name: 'debian-13-nv'
source: 'debian-13-xfce'
label: 'purple'
vcpus: 4
memory: 4000
devices:
- '01:00.0'
- '01:00.1'
menuitems:
- 'qubes-run-terminal.desktop'
fedora:
name: 'fedora-42-nv'
source: 'fedora-42-xfce'
label: 'purple'
vcpus: 4
memory: 4000
devices:
- '01:00.0'
- '01:00.1'
menuitems:
- 'qubes-run-terminal.desktop'
full_desktop:
- 'fedora-42-nv'
{# DO NOT USE grains['os'] HERE, IT IS dom0's OS! #}
{% elif grains['id'] == 'debian-13-nv' %}
packages:
- linux-headers-amd64
- firmware-misc-nonfree
- nvidia-driver
- nvidia-open-kernel-dkms
- nvidia-cuda-dev
- nvidia-cuda-toolkit
{# - mesa-utils Contains glxutils for testing prime #}
{# - nvidia-xconfig #}
{% elif grains['id'] == 'fedora-42-nv' %}
packages:
- akmod-nvidia
- xorg-x11-drv-nvidia-cuda
{# - glx-utils Contains glxutils for testing prime #}
{% endif %}