2024-02-16 18:03:19 -05:00
|
|
|
{#
|
|
|
|
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:
|
2024-03-18 11:29:01 -04:00
|
|
|
- utils.tools.common.update
|
2024-02-16 18:03:19 -05:00
|
|
|
- sys-bitcoin.install-client
|
|
|
|
- dev.home-cleanup
|
|
|
|
- dev.install-terminal
|
|
|
|
- dotfiles.copy-x11
|
|
|
|
- dotfiles.copy-sh
|
|
|
|
- dotfiles.copy-git
|
|
|
|
- sys-pgp.install-client
|
|
|
|
- sys-git.install-client
|
|
|
|
|
|
|
|
"{{ slsdotpath }}-installed":
|
|
|
|
pkg.installed:
|
2024-03-18 11:29:01 -04:00
|
|
|
- require:
|
|
|
|
- sls: utils.tools.common.update
|
2024-02-16 18:03:19 -05:00
|
|
|
- install_recommends: False
|
|
|
|
- skip_suggestions: True
|
|
|
|
- pkgs:
|
2024-02-17 06:03:45 -05:00
|
|
|
- socat
|
2024-02-16 18:03:19 -05:00
|
|
|
- python3-aiohttp
|
|
|
|
- python3-aiorpcx
|
|
|
|
- python3-attr
|
|
|
|
- python3-plyvel
|
|
|
|
|
|
|
|
"{{ slsdotpath }}-rpc":
|
|
|
|
file.recurse:
|
|
|
|
- source: salt://{{ slsdotpath }}/files/server/rpc
|
|
|
|
- name: /etc/qubes-rpc/
|
|
|
|
- dir_mode: '0755'
|
|
|
|
- file_mode: '0755'
|
|
|
|
- user: root
|
|
|
|
- group: root
|
|
|
|
- makedirs: True
|
|
|
|
|
|
|
|
"{{ slsdotpath }}-bin-dir":
|
|
|
|
file.recurse:
|
|
|
|
- source: salt://{{ slsdotpath }}/files/server/bin
|
|
|
|
- name: /usr/bin/
|
|
|
|
- dir_mode: '0755'
|
|
|
|
- file_mode: '0755'
|
|
|
|
- user: root
|
|
|
|
- group: root
|
|
|
|
- makedirs: True
|
|
|
|
|
|
|
|
"{{ slsdotpath }}-system-systemd-dir":
|
|
|
|
file.recurse:
|
|
|
|
- source: salt://{{ slsdotpath }}/files/server/systemd/
|
|
|
|
- name: /usr/lib/systemd/system/
|
|
|
|
- dir_mode: '0755'
|
|
|
|
- file_mode: '0644'
|
|
|
|
- user: root
|
|
|
|
- group: root
|
|
|
|
- makedirs: True
|
|
|
|
|
|
|
|
"{{ slsdotpath }}-system-service-enable-electrumx":
|
|
|
|
service.enabled:
|
|
|
|
- name: electrumx
|
|
|
|
|
|
|
|
{% endif -%}
|