From 7638b57e4247e23ac37e74bb623a8742a69495e6 Mon Sep 17 00:00:00 2001 From: Alper Kanat Date: Sat, 25 Nov 2023 18:06:17 +0300 Subject: [PATCH] Install 1Password via bling --- config/files/etc/yum.repos.d/1password.repo | 7 ------- config/recipe.yml | 8 +------- config/scripts/1password/post.sh | 7 ------- config/scripts/1password/pre.sh | 4 ---- 4 files changed, 1 insertion(+), 25 deletions(-) delete mode 100644 config/files/etc/yum.repos.d/1password.repo delete mode 100644 config/scripts/1password/post.sh delete mode 100644 config/scripts/1password/pre.sh diff --git a/config/files/etc/yum.repos.d/1password.repo b/config/files/etc/yum.repos.d/1password.repo deleted file mode 100644 index b71d04b871..0000000000 --- a/config/files/etc/yum.repos.d/1password.repo +++ /dev/null @@ -1,7 +0,0 @@ -[1password] -name=1Password Stable Channel -baseurl=https://downloads.1password.com/linux/rpm/stable/$basearch -enabled=1 -gpgcheck=1 -repo_gpgcheck=1 -gpgkey=https://downloads.1password.com/linux/keys/1password.asc diff --git a/config/recipe.yml b/config/recipe.yml index d03d970901..3d01b6698e 100644 --- a/config/recipe.yml +++ b/config/recipe.yml @@ -21,10 +21,6 @@ modules: # should be added into /usr/etc/ as that is the proper "distro" # config directory on ostree. Read more in the files module's README - - type: script - scripts: - - 1password/pre.sh - - type: rpm-ostree repos: - https://copr.fedorainfracloud.org/coprs/szydell/system76/repo/fedora-%OS_VERSION%/szydell-system76-fedora-%OS_VERSION%.repo @@ -42,8 +38,6 @@ modules: - python3-psutil - simple-scan - gnome-boxes # usb passthrough doesn't work with flatpak - - 1password - - 1password-cli - NetworkManager-fortisslvpn-gnome - tailscale remove: @@ -59,7 +53,7 @@ modules: # - nix-installer # shell shortcuts for determinate system's nix installers # - ublue-os-wallpapers # - ublue-update # https://github.com/ublue-os/ublue-update - # - 1password # install 1Password (stable) and `op` CLI tool + - 1password # install 1Password (stable) and `op` CLI tool # - dconf-update-service # a service unit that updates the dconf db on boot # - devpod # https://devpod.sh/ as an rpm # - gnome-vrr # enables gnome-vrr for your image diff --git a/config/scripts/1password/post.sh b/config/scripts/1password/post.sh deleted file mode 100644 index 87059dd1e6..0000000000 --- a/config/scripts/1password/post.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env bash -set -oue pipefail - -mv /var/opt/1Password /usr/share/1Password -sed -i 's|^Exec=/opt/1Password/1password %U|Exec=/usr/share/1Password/1password %U|' /usr/share/applications/1password.desktop - -chgrp onepassword-cli /usr/bin/op diff --git a/config/scripts/1password/pre.sh b/config/scripts/1password/pre.sh deleted file mode 100644 index d21b903fea..0000000000 --- a/config/scripts/1password/pre.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env bash -set -oue pipefail - -mkdir -p /var/opt