From 93f60bacabcf9deff5d991eef4c00b7fe5533c1d Mon Sep 17 00:00:00 2001 From: lelgenio Date: Thu, 21 Apr 2022 06:55:07 -0300 Subject: [PATCH] root: add systemd configs --- root/config.yaml | 12 ++++++++++-- root/systemd/getty@tty1.service.d/autologin.conf | 3 +++ 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 root/systemd/getty@tty1.service.d/autologin.conf diff --git a/root/config.yaml b/root/config.yaml index 40fea96..da5a065 100644 --- a/root/config.yaml +++ b/root/config.yaml @@ -69,6 +69,7 @@ profiles: variables: sys_services: /etc/sv sys_svdir: /etc/runit/runsvdir/default/ + root_subvol: /@void include: - "common" dotfiles: @@ -79,6 +80,8 @@ profiles: - runit_services_enable artixlinux: + variables: + root_subvol: /@artix include: - "common" dotfiles: @@ -87,14 +90,15 @@ profiles: - pacman-artix archlinux: + variables: + root_subvol: /@arch include: - "common" dotfiles: - logind - mkinitcpio - pacman-arch - - + - systemd_services ############################################################### dotfiles: @@ -225,6 +229,10 @@ dotfiles: - enable_runit_services socklog-unix - enable_runit_services tlp + systemd_services: + src: systemd + dst: /etc/systemd/system/ + timezone: src: dst: diff --git a/root/systemd/getty@tty1.service.d/autologin.conf b/root/systemd/getty@tty1.service.d/autologin.conf new file mode 100644 index 0000000..98d7cc2 --- /dev/null +++ b/root/systemd/getty@tty1.service.d/autologin.conf @@ -0,0 +1,3 @@ +[Service] +ExecStart= +ExecStart=-/sbin/agetty -o '-p -f -- \\u' --noclear --autologin lelgenio - $TERM