root: use rundird

This commit is contained in:
lelgenio 2022-02-13 11:20:30 -03:00
parent 119a831e0c
commit 286287778a
6 changed files with 20 additions and 3 deletions

View File

@ -44,7 +44,7 @@ function esway
end
end
if test "$XDG_VTNR" = 1
if test (tty) = /dev/tty1
and test -z "$DISPLAY$WAYLAND_DISPLAY"
esway &> .swaylog

View File

@ -83,6 +83,10 @@ dotfiles:
actions:
- grub_install
pam:
src: pam-local-login
dst: /etc/pam.d/system-local-login
# mkinitcpio:
# src: mkinitcpio.conf
# dst: /etc/mkinitcpio.conf

View File

@ -7,10 +7,12 @@ GRUB_TIMEOUT=1
GRUB_HIDDEN_TIMEOUT=1
GRUB_RECORDFAIL_TIMEOUT=$GRUB_HIDDEN_TIMEOUT
GRUB_DISTRIBUTOR="Artix"
GRUB_DISTRIBUTOR="Void"
GRUB_CMDLINE_LINUX_DEFAULT=""
GRUB_CMDLINE_LINUX=" \
quiet loglevel=3 rd.udev.log_level=3 \
rd.vconsole.keymap={{@@ key_layout @@}} \
{%@@ if phisical_uuid @@%}
rd.luks.uuid={{@@ phisical_uuid @@}} \
root=UUID={{@@ root_uuid @@}} \

View File

@ -2,6 +2,8 @@ variables:
plymouth: false
zram: false
key_layout: colemak
# set to false if root_uuid == phisical_uuid
phisical_uuid: ####RUN#### sudo blkid /dev/sda2 -s UUID -o value
root_uuid: ####RUN#### sudo blkid /dev/mapper/main -s UUID -o value

8
root/pam-local-login Normal file
View File

@ -0,0 +1,8 @@
#%PAM-1.0
auth include system-login
account include system-login
password include system-login
session include system-login
-session optional pam_rundird.so

View File

@ -32,7 +32,6 @@ docker-20.10.12_1
docker-compose-2.2.3_1
dust-0.7.5_1
efibootmgr-17_6
elogind-246.9.2_3
elogind-devel-246.9.2_3
engrampa-1.26.0_1
entr-5.1_1
@ -168,7 +167,9 @@ ranger-1.9.3_3
rclone-1.57.0_1
recode-3.6_10
ripgrep-13.0.0_1
rofi-1.7.3_1
rsync-3.2.3_3
rundird-0.2.0_1
rust-analyzer-2021.08.30_1
rustup-1.24.3_1
sassc-3.6.2_1