mirror of
https://github.com/ben-grande/qusal.git
synced 2025-08-10 15:10:09 -04:00

Contributing to Qubes OS using Debian is possible, but there are edge cases with linter versions, GUI editor versions, test packages in run-tests that are better supported on Fedora, as this is the template that Qubes OS developers most use. Fixes: https://github.com/ben-grande/qusal/issues/139 Fixes: https://github.com/ben-grande/qusal/issues/126
64 lines
1.5 KiB
Text
64 lines
1.5 KiB
Text
{#
|
|
SPDX-FileCopyrightText: 2023 - 2025 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
|
#}
|
|
|
|
{% if grains['nodename'] != 'dom0' -%}
|
|
|
|
include:
|
|
- utils.tools.common.update
|
|
- {{ slsdotpath }}.home-cleanup
|
|
- dotfiles.copy-all
|
|
- utils.tools.zsh
|
|
- sys-pgp.install-client
|
|
- sys-git.install-client
|
|
- sys-ssh-agent.install-client
|
|
|
|
"{{ slsdotpath }}-installed-common":
|
|
pkg.installed:
|
|
- require:
|
|
- sls: utils.tools.common.update
|
|
- install_recommends: False
|
|
- skip_suggestions: True
|
|
- setopt: "install_weak_deps=False"
|
|
- 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
|
|
- gitlint
|
|
|
|
## Fedora doesn't have: ruby-mdl (markdownlint, mdl)
|
|
{% set pkg = {
|
|
'Debian': {
|
|
'pkg': ['shellcheck', 'vim-nox', 'fd-find', 'ruby-mdl'],
|
|
},
|
|
'RedHat': {
|
|
'pkg': ['ShellCheck', 'vim-enhanced', 'fd-find', 'passwd'],
|
|
},
|
|
}.get(grains.os_family) -%}
|
|
|
|
"{{ slsdotpath }}-installed-os-specific-common":
|
|
pkg.installed:
|
|
- require:
|
|
- sls: utils.tools.common.update
|
|
- install_recommends: False
|
|
- skip_suggestions: True
|
|
- setopt: "install_weak_deps=False"
|
|
- pkgs: {{ pkg.pkg|sequence|yaml }}
|
|
|
|
{% endif -%}
|