root: don't install root stuff automatically

This commit is contained in:
lelgenio 2021-10-28 13:45:23 -03:00
parent e68bdf6cec
commit d8a58fad41
4 changed files with 26 additions and 27 deletions

View File

@ -42,14 +42,6 @@ variables:
user: leonardo@wopus.com.br
mail: wopus.com.br
plymouth: true
zram: false
filesystem:
partitions:
"/": /mnt/btrfs-root
"/@home": /home
"/@sql": /var/lib/mysql
"/@swap": /swap
###############################################################
profiles:
@ -202,16 +194,9 @@ dynvariables:
color_type: test -n "$_COLOR_TYPE" && echo "$_COLOR_TYPE" || echo dark
accent_color_name: test -n "$_ACCENT_COLOR" && echo "$_ACCENT_COLOR" || echo red
firefox_profile: cat ~/.mozilla/firefox/profiles.ini | grep '^Default' | head -n1 | cut -d= -f2
phisical_uuid: sudo blkid /dev/sda2 -s UUID -o value
decrypted_uuid: sudo blkid /dev/mapper/main -s UUID -o value
boot_uuid: sudo blkid /dev/sda1 -s UUID -o value
root_subvol: echo "/@$(lsb_release -i | cut -f 2)-root"
nproc: nproc
memory_size: env LC_ALL=C free -b | awk '/^Mem:/ {print $2}'
deezer_arl: pass show Entertainment/Deezer | awk '/^arl:/ {print $2}'
main_password: _pass_get "{{@@ mail.personal.mail @@}}" | base64
###############################################################
actions:
###############################################################
@ -256,10 +241,6 @@ actions:
https://github.com/alexanderjeurissen/ranger_devicons
~/.config/ranger/plugins/ranger_devicons
root_install: |
sudo dotdrop install -f -p main \
-c "{{@@ _dotfile_abs_dst @@}}/config.yaml" ||
rm -r "{{@@ _dotfile_abs_dst @@}}"
start_services: >
_runit_config "{{@@ _dotfile_abs_dst @@}}"
dbus-daemon xsettingsd
@ -465,13 +446,6 @@ dotfiles: # Just a bunch of paths and action mappings
src: rustfmt.toml
dst: ~/.rustfmt.toml
root:
src: ../root
dst: ~/.local/share/root_files
actions:
- root_install
###############################################################
# Big pahts
###############################################################

View File

@ -5,7 +5,7 @@ set -ex
clean() {
rm -rf "$TMPDIR"
cd "$SCRIPT_DIR"
rm README.md LICENSE
rm -f README.md LICENSE
}
trap clean EXIT

View File

@ -21,6 +21,31 @@ config:
- "{{@@ _dotdrop_dotpath @@}}/../funcs.py"
###############################################################
variables:
###############################################################
plymouth: true
zram: false
filesystem:
partitions:
"/": /mnt/btrfs-root
"/@home": /home
"/@sql": /var/lib/mysql
"/@swap": /swap
###############################################################
dynvariables:
###############################################################
phisical_uuid: sudo blkid /dev/sda2 -s UUID -o value
decrypted_uuid: sudo blkid /dev/mapper/main -s UUID -o value
boot_uuid: sudo blkid /dev/sda1 -s UUID -o value
root_subvol: echo "/@$(lsb_release -i | cut -f 2)-root"
nproc: nproc
memory_size: env LC_ALL=C free -b | awk '/^Mem:/ {print $2}'
###############################################################
actions:
###############################################################