diff options
| author | Blake Romero <blake@blkrom.com> | 2024-10-06 02:11:41 +0100 |
|---|---|---|
| committer | Blake Romero <blake@blkrom.com> | 2024-10-06 02:11:41 +0100 |
| commit | b9cb418800a76103f005901815f5e4d4eca708dd (patch) | |
| tree | de12a3e30e2a027963b786c1c0ecfc953d68d964 | |
| parent | db04cf948e6cc80b0de9af2d7248a5c38e63fa33 (diff) | |
Fix user group error & tuigreet install
| -rw-r--r-- | config | 2 | ||||
| -rw-r--r-- | install.sh | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -30,7 +30,7 @@ user=blake # Note that some groups provided are required when using seatd and # may vary depending on your use-case; see the ArchWiki for info: # https://wiki.archlinux.org/title/Users_and_groups#Group_list -user_groups=wheel,video,audio,input,seat,log +user_groups=wheel,video,audio,input,log # System name hostname=ArtixPC @@ -283,6 +283,7 @@ EOF artix-chroot /mnt bash -c "echo root:artix | chpasswd" # Add new user +[[ "${elogind}" == false ]] user_groups+=",seat" artix-chroot /mnt bash -c "useradd -mG ${user_groups} ${user}" artix-chroot /mnt bash -c "echo \"${user}:${password}\" | chpasswd" @@ -299,7 +300,7 @@ ${user} ALL=(ALL) NOPASSWD: PACMAN,POWER,STAT # Login # when using greetd if [[ "${greeter}" == greetd ]]; then - basestrap /mnt --needed {greetd,tuigreet}-dinit + basestrap /mnt --needed greetd-{dinit,tuigreet} services+=" greetd" # disable tty1 console for greetd login sed 's/\[.*\]/\[2-6\]/' -i /mnt/etc/dinit.d/config/console.conf |
