1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2024-11-21 17:11:34 -05:00

Ree-add snapper configuration

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-05-31 04:05:10 -07:00
parent c74b56a456
commit dcbae1fd2d
Signed by: Tomster
GPG Key ID: 555C902A34EC968F

View File

@ -397,6 +397,15 @@ arch-chroot /mnt /bin/bash -e <<EOF
useradd -m $username useradd -m $username
usermod -aG wheel $username usermod -aG wheel $username
fi fi
# Snapper configuration
umount /.snapshots
rm -r /.snapshots
snapper --no-dbus -c root create-config /
btrfs subvolume delete /.snapshots
mkdir /.snapshots
mount -a
chmod 750 /.snapshots
EOF EOF
## Set user password. ## Set user password.