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
|
|
|
|
|
|
|
|
Source: https://github.com/romanz/electrs/blob/master/doc/install.md
|
|
|
|
#}
|
|
|
|
|
|
|
|
{% 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
|
|
|
- dev.home-cleanup
|
|
|
|
- dev.install-terminal
|
|
|
|
- dotfiles.copy-x11
|
|
|
|
- dotfiles.copy-sh
|
|
|
|
- dotfiles.copy-git
|
|
|
|
- sys-bitcoin.install-client
|
|
|
|
- sys-git.install-client
|
|
|
|
- sys-pgp.install-client
|
|
|
|
|
|
|
|
"{{ slsdotpath }}-source-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
|
2024-08-16 08:02:53 -04:00
|
|
|
- setopt: "install_weak_deps=False"
|
2024-02-16 18:03:19 -05:00
|
|
|
- pkgs:
|
2024-02-17 06:03:45 -05:00
|
|
|
- socat
|
2024-02-16 18:03:19 -05:00
|
|
|
- librocksdb-dev
|
|
|
|
- man-db
|
|
|
|
|
|
|
|
"{{ slsdotpath }}-rpc":
|
|
|
|
file.recurse:
|
|
|
|
- source: salt://{{ slsdotpath }}/files/server/rpc/
|
|
|
|
- name: /etc/qubes-rpc/
|
|
|
|
- dir_mode: '0755'
|
|
|
|
- file_mode: '0755'
|
|
|
|
- user: root
|
|
|
|
- group: root
|
|
|
|
|
|
|
|
"{{ 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
|
|
|
|
|
|
|
|
"{{ slsdotpath }}-system-service-enable-bitcoin-p2p-qrexec":
|
|
|
|
service.enabled:
|
|
|
|
- name: bitcoin-p2p-qrexec.socket
|
|
|
|
|
|
|
|
"{{ slsdotpath }}-system-service-enable-electrs":
|
|
|
|
service.enabled:
|
|
|
|
- name: electrs
|
|
|
|
|
|
|
|
{% endif -%}
|