summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rw-r--r--install.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index 70f5ef0..167afec 100644
--- a/install.sh
+++ b/install.sh
@@ -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