{# SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. SPDX-License-Identifier: AGPL-3.0-or-later #} {% if grains['nodename'] != 'dom0' -%} include: - utils.tools.common.update - .home-cleanup - dotfiles.copy-all - utils.tools.zsh - sys-pgp.install-client - sys-git.install-client - sys-ssh-agent.install-client "{{ slsdotpath }}-installed": pkg.installed: - require: - sls: utils.tools.common.update - install_recommends: False - skip_suggestions: True - pkgs: ## Necessary - qubes-core-agent-passwordless-root - ca-certificates ## Usability - tmux - xclip - bash-completion ## Reading documentation - man-db - info - texinfo ## Searching files - file - tree - ripgrep - fzf ## Lint - pre-commit - precious - reuse - gitlint - pylint - yamllint - ruby-mdl ## Fedora doesn't have: ruby-mdl (markdownlint, mdl) ## Debian doesn't have: salt-lint {% set pkg = { 'Debian': { 'pkg': ['shellcheck', 'vim-nox', 'fd-find'], }, 'RedHat': { 'pkg': ['ShellCheck', 'vim-enhanced', 'fd-find', 'salt-lint', 'passwd'], }, }.get(grains.os_family) -%} "{{ slsdotpath }}-installed-os-specific": pkg.installed: - require: - sls: utils.tools.common.update - install_recommends: False - skip_suggestions: True - pkgs: {{ pkg.pkg|sequence|yaml }} {% endif -%}