mirror of
https://github.com/ben-grande/qusal.git
synced 2024-10-01 02:35:49 -04:00
f513f64065
These helpers were in the dotfiles submodule, but they are very useful and makes sense to port them to this project, especially when in need to update Qusal. Fixes: https://github.com/ben-grande/qusal/issues/18 Fixes: https://github.com/ben-grande/qusal/issues/21
22 lines
451 B
Plaintext
22 lines
451 B
Plaintext
{#
|
|
SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
|
#}
|
|
|
|
{% if grains['nodename'] == 'dom0' -%}
|
|
|
|
{% load_yaml as defaults -%}
|
|
name: {{ slsdotpath }}
|
|
force: True
|
|
features:
|
|
- set:
|
|
- qubes-vm-update-if-stale: 4
|
|
- qubes-vm-update-max-concurrency: 4
|
|
- qubes-vm-update-restart-system: 1
|
|
- qubes-vm-update-restart-other: 0
|
|
{%- endload %}
|
|
{{ load(defaults) }}
|
|
|
|
{% endif -%}
|