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

168 lines
3.5 KiB
YAML
Raw Normal View History

2021-06-16 03:00:49 +02:00
# _ _ _
# __| | ___ | |_ __| |_ __ ___ _ __
# / _` |/ _ \| __/ _` | '__/ _ \| '_ \
# | (_| | (_) | || (_| | | | (_) | |_) |
# \__,_|\___/ \__\__,_|_| \___/| .__/
# |_|
###############################################################
config:
###############################################################
backup: false
banner: false
keepdot: false
link_dotfile_default: nolink
link_on_import: nolink
dotpath: .
2021-06-23 06:49:38 +02:00
func_file:
- "{{@@ _dotdrop_dotpath @@}}/../funcs.py"
filter_file:
- "{{@@ _dotdrop_dotpath @@}}/../funcs.py"
2021-06-16 03:00:49 +02:00
2021-06-16 03:01:31 +02:00
###############################################################
actions:
###############################################################
greetd_install: _greetd_install
2021-06-16 08:33:22 +02:00
grub_install: update-grub
2021-06-17 08:42:42 +02:00
locale_install: locale-gen
2021-06-18 08:54:44 +02:00
groups_install: sh ~/.local/share/groups
2021-06-16 08:33:52 +02:00
pacman_install: |
pacman-key --init
pacman-key --populate
sv_update: |
2021-06-23 06:49:38 +02:00
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
2021-06-26 16:56:34 +02:00
passwd: chmod 600 /etc/.passwd
2021-06-26 17:44:06 +02:00
sysctl_apply: sysctl -a
mkinitcpio: mkinitcpio -P
2021-06-27 23:31:01 +02:00
start_services: >
_runit_config "{{@@ _dotfile_abs_dst @@}}"
apache
cronie
dbus
dhcpcd
docker
earlyoom
elogind
greetd
iwd
2021-07-06 18:44:20 +02:00
bluetoothd
2021-06-27 23:31:01 +02:00
mariadb
preload
syslog-ng
2021-06-16 08:32:46 +02:00
2021-06-16 03:01:31 +02:00
###############################################################
2021-06-16 08:32:46 +02:00
dotfiles:
2021-06-16 03:01:31 +02:00
###############################################################
2021-06-26 19:51:49 +02:00
runit_sv:
src: runit_sv
dst: /etc/runit/sv
2021-06-16 03:01:31 +02:00
greetd:
src: greetd
2021-06-18 08:54:44 +02:00
dst: /etc/greetd
2021-06-16 03:01:31 +02:00
actions:
- greetd_install
2021-06-26 16:56:34 +02:00
passwd:
src: passwd
dst: /etc/.passwd
actions:
- passwd
2021-06-16 08:32:46 +02:00
elogind:
src: elogind.conf
dst: /etc/elogind/logind.conf
actions:
- dbus_uuidgen
2021-06-16 08:32:46 +02:00
2021-06-16 08:33:22 +02:00
grub:
src: grub
dst: /etc/default/grub
actions:
- grub_install
2021-06-26 17:44:06 +02:00
mkinitcpio:
src: mkinitcpio.conf
dst: /etc/mkinitcpio.conf
actions:
- mkinitcpio
2021-06-16 08:33:52 +02:00
pacman:
src: pacman.conf
dst: /etc/pacman.conf
actions:
- pacman_install
2021-07-06 18:44:20 +02:00
bluez:
src: bluetooth.conf
dst: /etc/bluetooth/main.conf
2021-06-17 08:42:42 +02:00
locale:
src: locale.gen
dst: /etc/locale.gen
actions:
- locale_install
2021-06-23 06:49:38 +02:00
fstab:
src: fstab
dst: /etc/fstab
actions:
- create_subvolumes
- create_swapfile
- mount_partitions
2021-06-26 17:44:06 +02:00
sysctl:
src: sysctl
dst: /etc/sysctl.d
actions:
- sysctl_apply
2021-06-23 06:49:38 +02:00
zram:
src: zram
dst: /etc/
2021-06-16 03:01:31 +02:00
2021-06-23 08:23:02 +02:00
earlyoom:
src: earlyoom
dst: /etc/default/earlyoom
2021-06-18 08:54:44 +02:00
groups:
src: groups
dst: ~/.local/share/groups
actions:
- groups_install
2021-06-23 07:53:41 +02:00
usr_scripts:
src: "{{@@ env['HOME'] @@}}/.local/bin"
dst: /usr/local/bin
2021-06-27 23:31:01 +02:00
services:
src: runit_sv
dst: /etc/runit/sv
actions:
- start_services
2021-06-23 07:53:41 +02:00
2021-06-18 00:14:56 +02:00
lighttpd:
src: lighttpd
dst: /etc/lighttpd
actions:
- sv_update
2021-06-18 08:54:44 +02:00
2021-06-16 03:00:49 +02:00
###############################################################
profiles:
###############################################################
main:
dotfiles:
- ALL