From 9add0333142c30a4aedad5deab9c801df510e43c Mon Sep 17 00:00:00 2001 From: Rodney Osodo Date: Mon, 31 Mar 2025 12:34:37 +0300 Subject: [PATCH] docs: Update arch install config and post-install steps The changes include detailed config settings for audio, disk partitioning, encryption, and desktop environments, plus additional post-install steps for shell, networking and sync tools. --- README.md | 171 +++++++++++++++++++++++++++++++++++++++++----- config/.gitconfig | 2 +- 2 files changed, 155 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index a686f08..7c7219e 100644 --- a/README.md +++ b/README.md @@ -23,30 +23,147 @@ I use the following config files: { "additional-repositories": ["multilib"], "archinstall-language": "English", - "audio": "", // Left and install pulseaudio and pavucontrol after. + "audio_config": { + "audio": "pulseaudio" + }, "bootloader": "Grub", - "filesystem": "btrfs", // Use best effort partition layout. Subvolumes yes, compression no. - "gfx_driver": "VMware / VirtualBox (open-source)", - "harddrives": [ - "/dev/nvme0n1" // - ], - "hostname": "rodneypc", // Change this to your hostname - "kernels": ["linux"], - "keyboard-language": "us", - "mirror-region": "", // Left blank to use the fastest mirror. - "nic": { - "NetworkManager": true, - "nic": "Use NetworkManager (necessary to configure internet graphically in GNOME and KDE)" + "config_version": "3.0.2", + "disk_config": { + "config_type": "default_layout", + "device_modifications": [ + { + "device": "/dev/nvme0n1", + "partitions": [ + { + "btrfs": [], + "dev_path": null, + "flags": ["boot", "esp"], + "fs_type": "fat32", + "mount_options": [], + "mountpoint": "/boot", + "obj_id": "126ab499-7169-45d7-96e7-880eec8c3e5a", + "size": { + "sector_size": { + "unit": "B", + "value": 512 + }, + "unit": "GiB", + "value": 1 + }, + "start": { + "sector_size": { + "unit": "B", + "value": 512 + }, + "unit": "MiB", + "value": 1 + }, + "status": "create", + "type": "primary" + }, + { + "btrfs": [ + { + "mountpoint": "/", + "name": "@" + }, + { + "mountpoint": "/home", + "name": "@home" + }, + { + "mountpoint": "/var/log", + "name": "@log" + }, + { + "mountpoint": "/var/cache/pacman/pkg", + "name": "@pkg" + }, + { + "mountpoint": "/.snapshots", + "name": "@.snapshots" + } + ], + "dev_path": null, + "flags": [], + "fs_type": "btrfs", + "mount_options": ["compress=zstd"], + "mountpoint": null, + "obj_id": "be1b2e7a-abf8-4efb-9625-17356b9992c6", + "size": { + "sector_size": { + "unit": "B", + "value": 512 + }, + "unit": "B", + "value": 511035047936 + }, + "start": { + "sector_size": { + "unit": "B", + "value": 512 + }, + "unit": "B", + "value": 1074790400 + }, + "status": "create", + "type": "primary" + } + ], + "wipe": true + } + ] + }, + "disk_encryption": { + "encryption_type": "luks", + "lvm_volumes": [], + "partitions": ["be1b2e7a-abf8-4efb-9625-17356b9992c6"] + }, + "hostname": "elgon", + "kernels": ["linux", "linux-lts"], + "locale_config": { + "kb_layout": "us", + "sys_enc": "UTF-8", + "sys_lang": "en_GB" + }, + "mirror_config": { + "custom_mirrors": [], + "mirror_regions": {} + }, + "network_config": { + "type": "nm" }, "ntp": true, - "profile": "gnome", // Grapphics driver AMD / ATI (open-source) - "sys-encoding": "utf-8", - "sys-language": "en_GB", + "packages": ["git"], + "parallel downloads": 0, + "profile_config": { + "gfx_driver": "AMD / ATI (open-source)", + "greeter": "sddm", + "profile": { + "custom_settings": { + "GNOME": {}, + "Hyprland": { + "seat_access": "polkit" + } + }, + "details": ["GNOME", "Hyprland"], + "main": "Desktop" + } + }, + "save_config": null, "swap": true, - "timezone": "Africa/Nairobi" + "timezone": "Africa/Nairobi", + "uki": false, + "version": "3.0.2" } ``` +## Connect to Network + +```bash +nmtui +``` + ## Install Ansible ```bash @@ -75,5 +192,25 @@ Change keybindings for flameshot to `Print` and `Ctrl + Print` ```bash cd config +make install-stow make install-dotfiles ``` + +## Change Shell + +```bash +sudo chsh --shell $(which zsh) $USER +``` + +## Login to Tailscale + +```bash +sudo tailscale up --ssh +``` + +## Login to atuin + +```bash +atuin login +atuin sync +``` diff --git a/config/.gitconfig b/config/.gitconfig index a973e71..a2425a5 100644 --- a/config/.gitconfig +++ b/config/.gitconfig @@ -46,7 +46,7 @@ # Detect whitespace errors when applying a patch. [apply] - whitespace = fix + whitespace = fix # Cleanup branches [alias]