making features more self-contained....

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-07-24 13:39:02 +03:00
parent 46f43c2ca3
commit c7641efe61

View File

@ -66,6 +66,9 @@ FEATURES=(
start-services
start-user-services
bashctrl
syncthing
# these can depend on some services like syncthing...
user-link
user-copy
@ -111,7 +114,7 @@ PKG_DNF=(
gparted gdisk testdisk
# networking...
cronie syncthing tor obfs4
cronie tor obfs4
youtube-dl qbittorrent
# tools...
@ -180,7 +183,6 @@ SERVICES_START=(
)
SERVICES_USER_START=(
syncthing
)
@ -209,18 +211,17 @@ ALL_FEATURES=(
snap
npm
#keyd
start-services
# user..
dir
syncthing
bashctrl
user-link
user-copy
#syncthing
start-user-services
# keep this last...
@ -299,6 +300,7 @@ function feature-start-user-services(){
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
function feature-keyd(){ (
@ mkdir -p ~/work/EXTERNAL
@ cd ~/work/EXTERNAL
@ git clone https://github.com/rvaiya/keyd
@ cd keyd
@ -313,11 +315,12 @@ function feature-keyd(){ (
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
function feature-bash(){ (
function feature-bashctrl(){ (
@ mkdir -p ~/work/
@ cd ~/work/
@ git clone git@github.com:flynx/bashctrl
@ cd bashctrl
@ ./bashctrl -y setup \
@ ./bashctrl -y setup
) }
@ -351,6 +354,10 @@ function feature-gnome(){
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
function feature-syncthing(){
@ mkdir -p ~/Sync/ALL
@ sudo dnf install syncthing
@ sudo systemctl --user enable --now syncthing
#@ sudo systemctl --user start syncthing
# XXX can we do this from CLI???
# need to:
# - link device