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

146 lines
3.1 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:
2021-10-29 05:19:46 +02:00
- "../funcs.py"
2021-06-23 06:49:38 +02:00
filter_file:
2021-10-29 05:19:46 +02:00
- "../funcs.py"
2021-12-27 00:30:56 +01:00
# import_configs:
# - "../config.yaml"
2022-02-12 03:01:19 +01:00
import_variables:
- "hardware.yaml"
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-16 08:33:52 +02:00
pacman_install: |
pacman-key --init
pacman-key --populate
sv_update: |
2021-10-29 05:19:46 +02:00
sv restart "{{@@ '_dotfile_key' @@}}" ||
rc-service "{{@@ '_dotfile_key' @@}}" restart
2021-06-23 06:49:38 +02:00
create_swapfile: _create-swapfile
mount_partitions: mount -a
dbus_uuidgen: dbus-uuidgen --ensure
2021-06-26 17:44:06 +02:00
sysctl_apply: sysctl -a
2022-02-12 03:01:19 +01:00
# mkinitcpio: mkinitcpio -P
# start_services: >
# _runit_config "{{@@ _dotfile_abs_dst @@}}"
# apache
# cronie
# dbus
# dhcpcd
# docker
# earlyoom
# elogind
# greetd
# iwd
# bluetoothd
# mariadb
# preload
# syslog-ng
# tlp
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
###############################################################
2022-02-12 03:01:19 +01:00
# greetd:
# src: greetd
# dst: /etc/greetd
# actions:
# - greetd_install
2021-06-16 03:01:31 +02:00
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
2022-02-12 03:01:19 +01:00
grub:
src: grub
dst: /etc/default/grub
actions:
- grub_install
2021-06-16 08:33:22 +02:00
2022-02-13 15:20:30 +01:00
pam:
src: pam-local-login
dst: /etc/pam.d/system-local-login
2021-12-27 00:30:56 +01:00
# mkinitcpio:
# src: mkinitcpio.conf
# dst: /etc/mkinitcpio.conf
# actions:
# - mkinitcpio
2021-06-26 17:44:06 +02:00
2022-02-12 03:01:19 +01:00
# pacman:
# src: pacman.conf
# dst: /etc/pacman.conf
# actions:
# - pacman_install
2021-06-16 08:33:52 +02:00
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
2022-02-12 03:01:19 +01:00
fstab:
src: fstab
dst: /etc/fstab
actions:
- create_swapfile
- mount_partitions
2021-06-23 06:49:38 +02:00
2021-06-26 17:44:06 +02:00
sysctl:
src: sysctl
dst: /etc/sysctl.d
actions:
- sysctl_apply
2022-02-12 03:01:19 +01:00
zram:
src: zram
dst: /etc/
2021-06-16 03:01:31 +02:00
2021-12-27 00:30:56 +01:00
# earlyoom:
# src: earlyoom
# dst: /etc/default/earlyoom
2021-06-23 08:23:02 +02:00
2022-02-12 03:01:19 +01:00
# services:
# src: runit_sv
# dst: /etc/runit/sv
# actions:
# - start_services
2021-06-23 07:53:41 +02:00
2021-06-18 08:54:44 +02:00
2021-06-16 03:00:49 +02:00
###############################################################
profiles:
###############################################################
main:
dotfiles:
- ALL