root: disable system specific dotfiles

This commit is contained in:
lelgenio 2021-12-26 20:30:56 -03:00
parent 1a5d5c0568
commit ef61588fc7
1 changed files with 41 additions and 41 deletions

View File

@ -19,33 +19,33 @@ config:
- "../funcs.py"
filter_file:
- "../funcs.py"
import_configs:
- "../config.yaml"
# import_configs:
# - "../config.yaml"
###############################################################
variables:
###############################################################
# ###############################################################
# variables:
# ###############################################################
plymouth: true
zram: false
filesystem:
partitions:
"/": /mnt/btrfs-root
"/@home": /home
"/@sql": /var/lib/mysql
"/@swap": /swap
# 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"
# 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}'
# memory_size: env LC_ALL=C free -b | awk '/^Mem:/ {print $2}'
###############################################################
actions:
@ -105,17 +105,17 @@ dotfiles:
actions:
- dbus_uuidgen
grub:
src: grub
dst: /etc/default/grub
actions:
- grub_install
# grub:
# src: grub
# dst: /etc/default/grub
# actions:
# - grub_install
mkinitcpio:
src: mkinitcpio.conf
dst: /etc/mkinitcpio.conf
actions:
- mkinitcpio
# mkinitcpio:
# src: mkinitcpio.conf
# dst: /etc/mkinitcpio.conf
# actions:
# - mkinitcpio
pacman:
src: pacman.conf
@ -133,13 +133,13 @@ dotfiles:
actions:
- locale_install
fstab:
src: fstab
dst: /etc/fstab
actions:
- create_subvolumes
- create_swapfile
- mount_partitions
# fstab:
# src: fstab
# dst: /etc/fstab
# actions:
# - create_subvolumes
# - create_swapfile
# - mount_partitions
sysctl:
src: sysctl
@ -147,13 +147,13 @@ dotfiles:
actions:
- sysctl_apply
zram:
src: zram
dst: /etc/
# zram:
# src: zram
# dst: /etc/
earlyoom:
src: earlyoom
dst: /etc/default/earlyoom
# earlyoom:
# src: earlyoom
# dst: /etc/default/earlyoom
services:
src: runit_sv