mirror of
https://github.com/ben-grande/qusal.git
synced 2024-12-24 23:19:37 -05:00
feat: provide development environment for dom0
This commit is contained in:
parent
38d98ecb0d
commit
c2f25844da
@ -29,6 +29,11 @@ qubesctl state.apply dom0
|
|||||||
```
|
```
|
||||||
<!-- pkg:end:post-install -->
|
<!-- pkg:end:post-install -->
|
||||||
|
|
||||||
|
If you need to develop in Dom0, install some goodies (bare bones):
|
||||||
|
```sh
|
||||||
|
qubesctl state.apply dom0.install-dev
|
||||||
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
You may have noticed the desktop experience in Dom0 has enhanced. You are
|
You may have noticed the desktop experience in Dom0 has enhanced. You are
|
||||||
|
26
salt/dom0/install-dev.sls
Normal file
26
salt/dom0/install-dev.sls
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{#
|
||||||
|
SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
#}
|
||||||
|
|
||||||
|
{% if grains['nodename'] == 'dom0' -%}
|
||||||
|
|
||||||
|
"{{ slsdotpath }}-dev-updated":
|
||||||
|
pkg.uptodate:
|
||||||
|
- refresh: True
|
||||||
|
|
||||||
|
"{{ slsdotpath }}-dev-installed":
|
||||||
|
pkg.installed:
|
||||||
|
- refresh: True
|
||||||
|
- install_recommends: False
|
||||||
|
- skip_suggestions: True
|
||||||
|
- pkgs:
|
||||||
|
- vim
|
||||||
|
- tmux
|
||||||
|
- xclip
|
||||||
|
- bash-completion
|
||||||
|
- man-db
|
||||||
|
- tree
|
||||||
|
|
||||||
|
{% endif -%}
|
10
salt/dom0/install-dev.top
Normal file
10
salt/dom0/install-dev.top
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{#
|
||||||
|
SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
#}
|
||||||
|
|
||||||
|
base:
|
||||||
|
'dom0':
|
||||||
|
- match: nodegroup
|
||||||
|
- dom0.install-dev
|
@ -10,13 +10,4 @@ SPDX-License-Identifier: AGPL-3.0-or-later
|
|||||||
pkg.uptodate:
|
pkg.uptodate:
|
||||||
- refresh: True
|
- refresh: True
|
||||||
|
|
||||||
"{{ slsdotpath }}-installed":
|
|
||||||
pkg.installed:
|
|
||||||
- refresh: True
|
|
||||||
- install_recommends: False
|
|
||||||
- skip_suggestions: True
|
|
||||||
- pkgs:
|
|
||||||
- vim
|
|
||||||
- xclip
|
|
||||||
|
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
|
Loading…
Reference in New Issue
Block a user