update git username

This commit is contained in:
Laila van Reenen 2025-01-20 14:34:17 +01:00
parent 9ea8954413
commit c25bc9a9a2
Signed by: LailaTheElf
GPG Key ID: 8A3EF0226518C12D
3 changed files with 3 additions and 4 deletions

View File

@ -1,3 +1,2 @@
[Context]
sockets=fallback-x11;wayland;x11
filesystems=xdg-download;!home;!host

View File

@ -1,2 +1,2 @@
[Context]
filesystems=!xdg-download;!xdg-run/app/com.discordapp.Discord;!/run/media;!/mnt;!/media;~/projects/freenen/kladjes
filesystems=!xdg-download;!xdg-run/app/com.discordapp.Discord;!/run/media;!/mnt;!/media;~/projects/lailatheelf/kladjes

View File

@ -50,7 +50,7 @@ fi
fi
echo -n "password for freenen: "
echo -n "password for $USERNAME: "
read -s PASS_USER
echo
echo -n "retype password: "
@ -185,7 +185,7 @@ run-chroot "create admin group" "groupadd admin"
run-chroot "create user" "useradd --home-dir /home/${USERNAME} --create-home --skel /etc/skel ${USERNAME} --groups admin"
arch-chroot /mnt bash -c "echo \"${USERNAME}:\$PASS_USER\" | chpasswd" # don't log the password
run-chroot "add user to sudoers" "echo \"%admin ALL=(ALL:ALL) ALL\" >>/etc/sudoers"
run "clone keys repo" "git clone https://gitea.finnvanreenen.nl/FReenen/keys.git /mnt/opt/keys"
run "clone keys repo" "git clone https://gitea.finnvanreenen.nl/LailaTheElf/keys.git /mnt/opt/keys"
run-chroot "create authoized keys" "cd /opt/keys/ssh && cat ${USER_SSH_KEYS} > /home/${USERNAME}/.ssh/authorized_keys"
echo