{#
SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com>

SPDX-License-Identifier: AGPL-3.0-or-later
#}

{% if grains['nodename'] != 'dom0' -%}

include:
  - dev.home-cleanup
  - dotfiles.copy-sh
  - dotfiles.copy-ssh
  - dotfiles.copy-git
  - sys-pgp.install-client
  - sys-git.install-client
  - sys-ssh-agent.install-client
  - docker.install

"{{ slsdotpath }}-updated":
  pkg.uptodate:
    - refresh: True

"{{ slsdotpath }}-installed":
  pkg.installed:
    - refresh: True
    - install_recommends: False
    - skip_suggestions: True
    - pkgs:
      ## https://github.com/mirage/qubes-mirage-firewall/blob/main/Dockerfile
      - qubes-core-agent-passwordless-root
      - qubes-core-agent-networking
      - ca-certificates
      - bash-completion
      - man-db
      - vim
      - git
      - patch
      - unzip
      - bzip2
      - make
      - gcc
      - g++
      - libc-dev-bin
      - opam
      - ocaml

{% endif -%}
