From 94c6cd21f42066b3423b51e16875d5d886758d17 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 18 Nov 2022 00:46:50 -0600 Subject: [PATCH] add some programs to ajh-base, move opendoas install to SCRIPTS/opendoas.sh --- installers/arch/SCRIPTS/aur-install.sh | 1 - installers/arch/SCRIPTS/opendoas.sh | 9 +++++++++ installers/arch/ajh-base/PKGBUILD | 4 +++- 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100755 installers/arch/SCRIPTS/opendoas.sh diff --git a/installers/arch/SCRIPTS/aur-install.sh b/installers/arch/SCRIPTS/aur-install.sh index b2509f4..b97ba77 100755 --- a/installers/arch/SCRIPTS/aur-install.sh +++ b/installers/arch/SCRIPTS/aur-install.sh @@ -14,7 +14,6 @@ sfeed waylogout-git ani-cli-git connman-gtk -opendoas-sudo shell-color-scripts lf-sixel-git nerd-fonts-mononoki diff --git a/installers/arch/SCRIPTS/opendoas.sh b/installers/arch/SCRIPTS/opendoas.sh new file mode 100755 index 0000000..8813647 --- /dev/null +++ b/installers/arch/SCRIPTS/opendoas.sh @@ -0,0 +1,9 @@ +#!/bin/sh +sudo pacman -S opendoas + +echo "permit persist $USER as root" > ~/.cache/doas.conf +echo "permit nopass :wheel as root cmd /sbin/poweroff" >> ~/.cache/doas.conf +echo "permit nopass :wheel as root cmd /sbin/reboot" >> ~/.cache/doas.conf +sudo cp ~/.cache/doas.conf /etc/doas.conf + +yay -S opendoas-sudo diff --git a/installers/arch/ajh-base/PKGBUILD b/installers/arch/ajh-base/PKGBUILD index 9087f45..7f26c2d 100644 --- a/installers/arch/ajh-base/PKGBUILD +++ b/installers/arch/ajh-base/PKGBUILD @@ -1,7 +1,7 @@ pkgname="ajh-base" pkgver="1.0.0" pkgver="1" -pkgrel="2" +pkgrel="3" pkgdesc="Install my config for Arch based systems." arch=("x86_64") @@ -45,6 +45,7 @@ depends=( "zsh" "openssh" "flatpak" +"jq" #libs/plugins "python-urwid" @@ -72,6 +73,7 @@ depends=( "noto-fonts-cjk" "lxappearance" "qt5ct" +"archlinux-wallpaper" #tui, terminal programs and programs/libs used by them "imagemagick"