sudo apt install samba samba-common-bin
sudo nano /etc/samba/smb.conf
Add the following to the bottom
[home]
path = /home/pi
browseable = Yes
writeable = Yes
only guest = no
create mask = 0777
directory mask = 0777
public = no
force user = pi
sudo smbpasswd -a pi
NOTE: The password of the system's pi user and smb pi user ARE NOT THE SAME
sudo systemctl enable smbd
sudo systemctl restart smbd
\\raspberrypi.local\home
Type WORKGROUP\pi
when asked for a username