This repository has been archived on 2024-04-07. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/root/config.yaml

105 lines
2.4 KiB
YAML

# _ _ _
# __| | ___ | |_ __| |_ __ ___ _ __
# / _` |/ _ \| __/ _` | '__/ _ \| '_ \
# | (_| | (_) | || (_| | | | (_) | |_) |
# \__,_|\___/ \__\__,_|_| \___/| .__/
# |_|
###############################################################
config:
###############################################################
backup: false
banner: false
keepdot: false
link_dotfile_default: nolink
link_on_import: nolink
dotpath: .
func_file:
- "{{@@ _dotdrop_dotpath @@}}/../funcs.py"
filter_file:
- "{{@@ _dotdrop_dotpath @@}}/../funcs.py"
###############################################################
actions:
###############################################################
greetd_install: _greetd_install
grub_install: update-grub
locale_install: locale-gen
groups_install: sh ~/.local/share/groups
pacman_install: |
pacman-key --init
pacman-key --populate
sv_update: |
sv restart "{{@@ '_dotfile_key' | var @@}}" ||
rc-service "{{@@ '_dotfile_key' | var @@}}" restart
create_subvolumes: _create-subvolumes
create_swapfile: _create-swapfile
mount_partitions: mount -a
dbus_uuidgen: dbus-uuidgen --ensure
###############################################################
dotfiles:
###############################################################
greetd:
src: greetd
dst: /etc/greetd
actions:
- greetd_install
elogind:
src: elogind.conf
dst: /etc/elogind/logind.conf
actions:
- sv_update
- dbus_uuidgen
grub:
src: grub
dst: /etc/default/grub
actions:
- grub_install
pacman:
src: pacman.conf
dst: /etc/pacman.conf
actions:
- pacman_install
locale:
src: locale.gen
dst: /etc/locale.gen
actions:
- locale_install
fstab:
src: fstab
dst: /etc/fstab
actions:
- create_subvolumes
- create_swapfile
- mount_partitions
zram:
src: zram
dst: /etc/
groups:
src: groups
dst: ~/.local/share/groups
actions:
- groups_install
###############################################################
profiles:
###############################################################
main:
dotfiles:
- ALL