From ff34a8a1c38f5033099cb0b1a3ae94a03dea599c Mon Sep 17 00:00:00 2001 From: Ben Grande Date: Thu, 21 Dec 2023 00:10:03 +0100 Subject: [PATCH] fix: add missing appmenus sync --- salt/mutt/README.md | 2 ++ salt/mutt/appmenus.sls | 8 ++++++++ salt/mutt/appmenus.top | 10 ++++++++++ salt/signal/README.md | 2 ++ salt/signal/appmenus.sls | 8 ++++++++ salt/signal/appmenus.top | 10 ++++++++++ salt/vault/README.md | 2 ++ salt/vault/appmenus.sls | 8 ++++++++ salt/vault/appmenus.top | 10 ++++++++++ 9 files changed, 60 insertions(+) create mode 100644 salt/mutt/appmenus.sls create mode 100644 salt/mutt/appmenus.top create mode 100644 salt/signal/appmenus.sls create mode 100644 salt/signal/appmenus.top create mode 100644 salt/vault/appmenus.sls create mode 100644 salt/vault/appmenus.top diff --git a/salt/mutt/README.md b/salt/mutt/README.md index 01b5a0c..e1f46f2 100644 --- a/salt/mutt/README.md +++ b/salt/mutt/README.md @@ -19,6 +19,7 @@ Create a mail client qube named "mutt" based on the program Mutt. qubesctl top.enable mutt qubesctl --targets=tpl-mutt,mutt state.apply qubesctl top.disable mutt +qubesctl state.apply mutt.appmenus ``` - State @@ -27,6 +28,7 @@ qubesctl top.disable mutt qubesctl state.apply mutt.create qubesctl --skip-dom0 --targets=tpl-mutt state.apply mutt.install qubesctl --skip-dom0 --targets=mutt state.apply mutt.configure +qubesctl state.apply mutt.appmenus ``` diff --git a/salt/mutt/appmenus.sls b/salt/mutt/appmenus.sls new file mode 100644 index 0000000..a84a247 --- /dev/null +++ b/salt/mutt/appmenus.sls @@ -0,0 +1,8 @@ +{# +SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. + +SPDX-License-Identifier: AGPL-3.0-or-later +#} + +{% from 'utils/macros/sync-appmenus.sls' import sync_appmenus -%} +{{ sync_appmenus('tpl-' ~ sls_path) }} diff --git a/salt/mutt/appmenus.top b/salt/mutt/appmenus.top new file mode 100644 index 0000000..68d5d94 --- /dev/null +++ b/salt/mutt/appmenus.top @@ -0,0 +1,10 @@ +{# +SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. + +SPDX-License-Identifier: AGPL-3.0-or-later +#} + +base: + 'dom0': + - match: nodegroup + - mutt.appmenus diff --git a/salt/signal/README.md b/salt/signal/README.md index 0715c9c..a647a61 100644 --- a/salt/signal/README.md +++ b/salt/signal/README.md @@ -19,6 +19,7 @@ Install Signal Desktop and creates an app qube named "signal". qubesctl top.enable signal qubesctl --targets=tpl-signal,signal state.appply qubesctl top.disable signal +qubesctl state.apply signal.appmenus ``` - State: @@ -27,6 +28,7 @@ qubesctl top.disable signal qubesctl state.apply signal.create qubesctl --skip-dom0 --targets=tpl-signal state.apply signal.install qubesctl --skip-dom0 --targets=signal state.apply signal.configure +qubesctl state.apply signal.appmenus ``` diff --git a/salt/signal/appmenus.sls b/salt/signal/appmenus.sls new file mode 100644 index 0000000..a84a247 --- /dev/null +++ b/salt/signal/appmenus.sls @@ -0,0 +1,8 @@ +{# +SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. + +SPDX-License-Identifier: AGPL-3.0-or-later +#} + +{% from 'utils/macros/sync-appmenus.sls' import sync_appmenus -%} +{{ sync_appmenus('tpl-' ~ sls_path) }} diff --git a/salt/signal/appmenus.top b/salt/signal/appmenus.top new file mode 100644 index 0000000..5216533 --- /dev/null +++ b/salt/signal/appmenus.top @@ -0,0 +1,10 @@ +{# +SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. + +SPDX-License-Identifier: AGPL-3.0-or-later +#} + +base: + 'dom0': + - match: nodegroup + - signal.appmenus diff --git a/salt/vault/README.md b/salt/vault/README.md index 9d126ec..2d7d7dd 100644 --- a/salt/vault/README.md +++ b/salt/vault/README.md @@ -21,6 +21,7 @@ keys. qubesctl top.enable vault qubesctl --targets=tpl-vault state.apply qubesctl top.disable vault +qubesctl state.apply vault.appmenus ``` - State: @@ -28,6 +29,7 @@ qubesctl top.disable vault ```sh qubesctl state.apply vault.create qubesctl --skip-dom0 --targets=tpl-vault state.apply vault.install +qubesctl state.apply vault.appmenus ``` diff --git a/salt/vault/appmenus.sls b/salt/vault/appmenus.sls new file mode 100644 index 0000000..a84a247 --- /dev/null +++ b/salt/vault/appmenus.sls @@ -0,0 +1,8 @@ +{# +SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. + +SPDX-License-Identifier: AGPL-3.0-or-later +#} + +{% from 'utils/macros/sync-appmenus.sls' import sync_appmenus -%} +{{ sync_appmenus('tpl-' ~ sls_path) }} diff --git a/salt/vault/appmenus.top b/salt/vault/appmenus.top new file mode 100644 index 0000000..182da61 --- /dev/null +++ b/salt/vault/appmenus.top @@ -0,0 +1,10 @@ +{# +SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. + +SPDX-License-Identifier: AGPL-3.0-or-later +#} + +base: + 'dom0': + - match: nodegroup + - vault.appmenus