2023-10-15 10:07:44 +00:00
|
|
|
# Manually install my setup
|
|
|
|
## I reccomend to use the automatic setup outlined in apps.md instead.
|
|
|
|
Make new user
|
|
|
|
```
|
|
|
|
pacman -S sudo
|
2024-05-20 15:07:58 +00:00
|
|
|
useradd -mU sophie
|
|
|
|
echo "sophie ALL=(ALL:ALL) ALL" >> /etc/sudoers
|
|
|
|
passwd sophie
|
|
|
|
su sophie
|
2023-10-15 10:07:44 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
Install yay
|
|
|
|
```
|
|
|
|
sudo pacman -S git fakeroot make gcc
|
|
|
|
git clone https://aur.archlinux.org/yay.git
|
|
|
|
cd yay
|
|
|
|
makepkg -si
|
|
|
|
cd ..
|
|
|
|
rm -rf yay
|
|
|
|
```
|
|
|
|
|
|
|
|
Setup getty autologin
|
|
|
|
```
|
|
|
|
mkdir /etc/systemd/system/getty@tty1.service.d
|
|
|
|
|
|
|
|
cat <<- "EOF" > /etc/systemd/system/getty@tty1.service.d/skip-username.conf
|
|
|
|
[Service]
|
|
|
|
ExecStart=
|
2024-05-20 15:07:58 +00:00
|
|
|
ExecStart=-/sbin/agetty -o '-p -- sophie' --noclear --skip-login - $TERM
|
2023-10-15 10:07:44 +00:00
|
|
|
Environment=XDG_SESSION_TYPE=wayland
|
|
|
|
EOF
|
|
|
|
```
|
|
|
|
|
|
|
|
Remove password
|
|
|
|
```
|
2024-05-20 15:07:58 +00:00
|
|
|
sudo sed -i 's/sophie:[^:]*/sophie:/' /etc/shadow
|
2023-10-15 10:07:44 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
Install stow
|
|
|
|
```
|
|
|
|
yay -S stow
|
|
|
|
```
|
|
|
|
|
|
|
|
Install dotfiles
|
|
|
|
```
|
|
|
|
git clone --recurse-submodules https://github.com/yourfriendoss/dots .shell
|
|
|
|
cd .shell
|
|
|
|
stow src
|
|
|
|
```
|
|
|
|
|
|
|
|
Automatically log into Hyprland
|
|
|
|
```
|
2024-05-20 15:07:58 +00:00
|
|
|
cat <<- "EOF" > /home/sophie/.bash_profile
|
2023-10-15 10:07:44 +00:00
|
|
|
if [[ "$(tty)" == "/dev/tty1" ]]
|
|
|
|
then
|
|
|
|
Hyprland
|
|
|
|
fi
|
|
|
|
EOF
|
|
|
|
```
|