Update install scripts based on further system usage.

This commit is contained in:
Drew Galbraith 2023-11-19 01:11:14 -08:00
parent 9c16a2540e
commit c0d6ee5750
5 changed files with 44 additions and 29 deletions

View file

@ -40,6 +40,8 @@ Install the base:
Followed by important packages:
`pacstrap /mnt grub efibootmgr e2fsprogs networkmanager vim man-db man-pages texinfo sudo`
Either pacstrap `intel-ucode` or `amd-ucode` for the processor. It will be automatically loaded by grub.
# Part 2 - Configure
Generally follow the configure the system steps in the
@ -85,6 +87,30 @@ Install helpful utilities:
TODO: Install graphics driver pagckages?
## Update DNS
Set in /etc/systemd/resolved.conf
```
DNS=66.42.73.247#itramisu.one
DNSOverTLS=yes
```
`ln -sf ../run/systemd/resolve/stub-resolv.conf /etc/resolv.conf`
`systemctl enable systemd-resolved`
## Create a swapfile (optional)
https://wiki.archlinux.org/title/swap#Swap_file
For laptops: Check suspend method -> https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate#Changing_suspend_method
Configure hibernation: https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate#Hibernation
Set /etc/systemd/sleep.conf parameters for timed sleep/hibernate.
Set /etc/systemd/logind.conf to HandleLidSwitch to SuspendThenHibernate
# Part 3 - Desktop
Reboot and login as the new user.
@ -94,28 +120,27 @@ Clone this git repo at /home/drew/install.
- Run `sudo ./install_desktop.sh`
- Run `./install_usr.sh`
May have to add a udev rule to allow brightness keys to work.
https://wiki.archlinux.org/title/Backlight#ACPI
# Part 4 - Applications
`mkdir Documents/ Downloads/ Pictures/`
`sudo pacman -S firefox`
Log into firefox w/ sync (installs bitwarden.)
Set firefox to search with kagi.
# Part 5 - Dev environment
`sudo pacman -S neovim lua-language-server ccls rust rust-analyzer jedi-language-server`
Start up neovim and run PackerSync
(note you may have to comment out:
init.lua: require(impatient)
opts.lua: vim.cmd("colorscheme nordfox")
`sudo pacman -S bind openssh cmake ninja neovim lua-language-server ccls rust rust-analyzer jedi-language-server`
Run `nvim -u nvim-bootstrap.lua` to install plugins as nvim won't start up until they are.
Add ssh keys to gitea and gitlab.
mkdir prog and clone a c++ code base, a python code base, and a rust code base to test the language server.
# Part 6 - Optional
Steam?