mirror of
https://github.com/ben-grande/qusal.git
synced 2024-10-01 02:35:49 -04:00
feat: add development goodies to Qubes Builder
This commit is contained in:
parent
7df3be4b78
commit
4276358a7e
@ -50,6 +50,12 @@ sudo qubesctl --skip-dom0 --targets=qubes-builder state.apply qubes-builder.conf
|
||||
```
|
||||
<!-- pkg:end:post-install -->
|
||||
|
||||
If you plan to write for a long time and analyze logs on the builder qube, it
|
||||
is recommended to install some development goodies:
|
||||
```sh
|
||||
sudo qubesctl --skip-dom0 --targets=tpl-qubes-builder state.apply qubes-builder.install-dev
|
||||
```
|
||||
|
||||
## Access Control
|
||||
|
||||
The policy is based on `qubes-builderv2/rpc/50-qubesbuilder.policy`.
|
||||
|
30
salt/qubes-builder/install-dev.sls
Normal file
30
salt/qubes-builder/install-dev.sls
Normal file
@ -0,0 +1,30 @@
|
||||
{#
|
||||
SPDX-FileCopyrightText: 2024 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
|
||||
- dotfiles.copy-vim
|
||||
- dotfiles.copy-tmux
|
||||
|
||||
"{{ slsdotpath }}-installed-dev":
|
||||
pkg.installed:
|
||||
- require:
|
||||
- sls: utils.tools.common.update
|
||||
- install_recommends: False
|
||||
- skip_suggestions: True
|
||||
- pkgs:
|
||||
- vim-enhanced
|
||||
- tmux
|
||||
- xclip
|
||||
- bash-completion
|
||||
- man-db
|
||||
- tree
|
||||
- ripgrep
|
||||
- fzf
|
||||
|
||||
{% endif -%}
|
9
salt/qubes-builder/install-dev.top
Normal file
9
salt/qubes-builder/install-dev.top
Normal file
@ -0,0 +1,9 @@
|
||||
{#
|
||||
SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||
|
||||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
#}
|
||||
|
||||
base:
|
||||
'tpl-qubes-builder':
|
||||
- qubes-builder.install-dev
|
@ -1,5 +1,5 @@
|
||||
{#
|
||||
SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||
SPDX-FileCopyrightText: 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||
|
||||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
#}
|
||||
@ -27,10 +27,6 @@ include:
|
||||
- install_recommends: False
|
||||
- skip_suggestions: True
|
||||
- pkgs:
|
||||
## Goodies
|
||||
- rpmautospec
|
||||
- rpmlint
|
||||
- vim-enhanced
|
||||
## Minimal template dependencies
|
||||
- qubes-core-agent-networking
|
||||
- qubes-core-agent-passwordless-root
|
||||
|
Loading…
Reference in New Issue
Block a user