Skip to content

containerscrew/dotfiles

Repository files navigation

containerscrew dotfiles

My dotfiles using Arch Linux. Just for the time it takes to document this repository and configurations, this repo deserves one star!

Warning

The documentation is not yet well finished. There are still things to document and configure. However, I hope the configuration files can help you.

current-desktop

Table of Contents generated with DocToc

Disclaimer ⚠️

It is my personal setup, the way I like it, with configurations that are comfortable for me, applications... etc. Use it if you want as a template, as a guide. I will update it as I need to add new packages, configs...etc.

Important

There are still many things to configure, I will do it as I go. Mouse, trackpad, eww widgets... etc

And yes... all my commits in this repo you will see that they are called Wip 😀

Arch Linux installation

The installation of Arch Linux has been carried out using archinstall. The official installation page is also very complete, everything and that using archinstall is more comfortable and makes the process easier.

Before installation using archinstall

Pre-flight checks 🚀

Connect to the internet

Once the usb is booted, connect the laptop to your local network (if not using ethernet cable).

iwctl station wlan0 get-networks # change wlan0 interface if needed. Type `$ ip a` if you don't know the name
iwctl station wlan0 connect SSID # put the SSID/BSSID with your corresponding local network
ping -c 1 1.1.1.1 # test connectivity
archinstall # start installation

iwd official documentation

Considerations in archinstall

Setting Configuration
Locales/Language/Keyboard US
Mirrors Netherlands
Bootloader Grub
Disk Encryption ALWAYS
Disk Filesystem BTRFS
Swap True
Profile Minimal
Root password Yes
User sudoer Yes
Audio Pipewire
Kernels Linux
Additional packages rsync,openssh,neovim,curl,git, wget
Network NetworkManager
UTC Europe/Amsterdam
Optional repos multilib

The installer will ask if you want to chroot into the system. Type yes and enable ssh (for rsync). systemctl enable sshd

After installation

First setps after installation. Remove the usb from your computer and restart. Grub will launch the new archlinux distro, and a basic prompt (black window) will appear.

Connect the computer to the internet

$ nmcli device wifi list
$ nmcli device wifi connect SSID_or_BSSID password SSID/BSSID-PASSWORD
# or use
$ nmcli device wifi connect -a
$ history -c

Option 1: Download dotfiles from git

$ cd /tmp
$ git clone https://github.com/containerscrew/dotfiles.git
$ cd dotfiles
$ bash setup.sh

Option 2: Copy dotfiles from another computer

$ cd /tmp
$ git clone https://github.com/containerscrew/dotfiles.git
$ rsync -avzh --exclude='.git/' dotfiles/ [email protected]:/tmp/dotfiles/
# Then login to the server and execute the script setup.sh
ssh username@ip
bash /tmp/dotfiles/setup.sh

openssh must be enabled

Only copy ~/.config files

cd dotfiles/
rsync -avzhu config/* [email protected]:/home/username/.config/
# Or locally
rsync -avzhu config/* /home/username/.config/

Run setup.sh

setup.sh will install main packages using pacman and paru. Also, will copy all config files in user home, will set some basic configs like firewall, lightdm theme...etc. Take a look!

All installation scripts are in the installers folder

Post install

Post intallation setps. Some work settings, and other stuff.

See postinstall.md

BIOS settings

Pending to write documentation of BIOS settings. By the moment, protect BIOS settings with admin password.

Shortcuts

See shortcuts documentation.

Tips

Some tips about archlinux configurations.

Tips documentation

MISC documentation

Misc documentation

Links

Credits

License

LICENSE