Skip to content

Instantly share code, notes, and snippets.

@amiteshore
Last active March 15, 2024 09:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amiteshore/bf33985a5eaa11096e9ea97f546a60c1 to your computer and use it in GitHub Desktop.
Save amiteshore/bf33985a5eaa11096e9ea97f546a60c1 to your computer and use it in GitHub Desktop.

Note: appending pci=nomsi in /etc/default/grub fixed the "taking too much time to shutdown or reboot"

Post-installation (after booting or rebooting)

- [ ] Set correct time
    - `sudo timedatectl set-ntp true`
    - `sudo timedatectl set-timezone Asia/Kolkata`
    - Check with `timedatectl status` or `date`
- [ ] Connect to WiFi with `nmtui`
- [ ] Check internet connection `ping google.com`
- [ ] Upgrade `pacman -Syu`
- [ ]  Create user and add administrative privileges
    - `useradd -m -G wheel -s /usr/bin/zsh username`
    - `passwd username`
    - Uncomment the `# %wheel ALL=(ALL) ALL` line from `/etc/sudoers` file
- [ ] Reboot and check if the new user can log in and run commands with `sudo`

For setting up dotfiles

- [ ] Enable parallel downloading in `/etc/pacman.conf` 
- [ ] Clone [dotfiles repository](https://github.com/amiteshore/dotfiles.git) in user home folder
- [ ] Comment out/Remove packages from `installer.sh` that I don't wanna install
- [ ] Run `./bootstrap.sh`
- [ ] Run `./installer.sh`
- [ ] `reboot` computer

TODO after setting up dotfiles

- [ ] Install vim plugins
- [ ] Edit `.gitconfig`
- [ ] Generate ssh keys
- [ ] Setup firewall
- [ ] Add user to docker group
    - `sudo groupadd docker`
    - `sudo usermod -aG docker <username>`
    - Start `docker.service` and check if I can run `docker` commands without `sudo` (may need to reboot)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment