dots/manual.md

59 lines
1,023 B
Markdown
Raw Normal View History

# 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
```
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
Environment=XDG_SESSION_TYPE=wayland
EOF
```
Remove password
```
2024-05-20 15:07:58 +00:00
sudo sed -i 's/sophie:[^:]*/sophie:/' /etc/shadow
```
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
if [[ "$(tty)" == "/dev/tty1" ]]
then
Hyprland
fi
EOF
```