Update install scripts based on further system usage.
This commit is contained in:
parent
9c16a2540e
commit
c0d6ee5750
|
@ -0,0 +1 @@
|
||||||
|
opt/
|
39
README.md
39
README.md
|
@ -40,6 +40,8 @@ Install the base:
|
||||||
Followed by important packages:
|
Followed by important packages:
|
||||||
`pacstrap /mnt grub efibootmgr e2fsprogs networkmanager vim man-db man-pages texinfo sudo`
|
`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
|
# Part 2 - Configure
|
||||||
|
|
||||||
Generally follow the configure the system steps in the
|
Generally follow the configure the system steps in the
|
||||||
|
@ -85,6 +87,30 @@ Install helpful utilities:
|
||||||
|
|
||||||
TODO: Install graphics driver pagckages?
|
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
|
# Part 3 - Desktop
|
||||||
|
|
||||||
Reboot and login as the new user.
|
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 `sudo ./install_desktop.sh`
|
||||||
- Run `./install_usr.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
|
# Part 4 - Applications
|
||||||
|
|
||||||
`mkdir Documents/ Downloads/ Pictures/`
|
`mkdir Documents/ Downloads/ Pictures/`
|
||||||
`sudo pacman -S firefox`
|
`sudo pacman -S firefox`
|
||||||
|
|
||||||
Log into firefox w/ sync (installs bitwarden.)
|
Log into firefox w/ sync (installs bitwarden.)
|
||||||
|
Set firefox to search with kagi.
|
||||||
|
|
||||||
# Part 5 - Dev environment
|
# Part 5 - Dev environment
|
||||||
|
|
||||||
`sudo pacman -S neovim lua-language-server ccls rust rust-analyzer jedi-language-server`
|
`sudo pacman -S bind openssh cmake ninja 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")
|
|
||||||
|
|
||||||
|
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.
|
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.
|
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
|
# Part 6 - Optional
|
||||||
|
|
||||||
Steam?
|
Steam?
|
||||||
|
|
|
@ -9,10 +9,10 @@ fi
|
||||||
echo "Installing packages."
|
echo "Installing packages."
|
||||||
# Base Packages.
|
# Base Packages.
|
||||||
# Go is a dependency of yay
|
# Go is a dependency of yay
|
||||||
pacman --noconfirm -S which base-devel go
|
pacman --noconfirm -S which base-devel go wireguard-tools
|
||||||
|
|
||||||
# Display Elements.
|
# Display Elements.
|
||||||
pacman --noconfirm -S plymouth sddm wayland sway swaybg swaylock swayidle wofi waybar
|
pacman --noconfirm -S plymouth sddm wayland sway swaybg swaylock swayidle wofi waybar wev gammastep
|
||||||
|
|
||||||
# Theming.
|
# Theming.
|
||||||
pacman --noconfirm -S ttf-liberation sddm kitty zsh adobe-source-code-pro-fonts ttf-sourcecodepro-nerd ttf-dejavu arc-gtk-theme papirus-icon-theme
|
pacman --noconfirm -S ttf-liberation sddm kitty zsh adobe-source-code-pro-fonts ttf-sourcecodepro-nerd ttf-dejavu arc-gtk-theme papirus-icon-theme
|
||||||
|
@ -33,5 +33,6 @@ echo "Giving Sway hardware access."
|
||||||
usermod -aG seat drew
|
usermod -aG seat drew
|
||||||
systemctl enable seatd.service
|
systemctl enable seatd.service
|
||||||
|
|
||||||
pacman --noconfirm -S pulseaudio pavucontrol network-manager-applet
|
pacman --noconfirm -S pulseaudio pavucontrol network-manager-applet flameshot bluez bluez-utils blueman pulseaudio-bluetooth
|
||||||
|
systemctl enable bluetooth
|
||||||
|
|
||||||
|
|
|
@ -1,25 +1,7 @@
|
||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
set -e
|
|
||||||
|
|
||||||
echo "Installing yay"
|
|
||||||
mkdir opt
|
|
||||||
pushd opt
|
|
||||||
git clone https://aur.archlinux.org/yay.git
|
|
||||||
chown -R drew .
|
|
||||||
pushd yay
|
|
||||||
makepkg -si
|
|
||||||
popd
|
|
||||||
popd
|
|
||||||
|
|
||||||
echo "Installing plymouth theme"
|
|
||||||
yay --noconfirm -S plymouth-theme-deus-ex-git
|
|
||||||
sudo plymouth-set-default-theme -R deus_ex
|
|
||||||
|
|
||||||
echo "Installing SDDM theme"
|
|
||||||
yay --noconfirm -S sddm-sugar-dark
|
|
||||||
|
|
||||||
echo "Pulling home git config"
|
echo "Pulling home git config"
|
||||||
$CONFIG="/usr/bin/git --git-dir=/home/drew/.cfg/ --work-tree=/home/drew"
|
CONFIG="/usr/bin/git --git-dir=/home/drew/.cfg/ --work-tree=/home/drew"
|
||||||
git config --global init.defaultBranch main
|
git config --global init.defaultBranch main
|
||||||
mkdir ~/.cfg
|
mkdir ~/.cfg
|
||||||
$CONFIG init
|
$CONFIG init
|
||||||
|
@ -29,3 +11,5 @@ $CONFIG submodule update --init
|
||||||
echo "*" > ~/.gitignore
|
echo "*" > ~/.gitignore
|
||||||
|
|
||||||
sudo sed -i 's/ForceHideCompletePassword=false/ForceHideCompletePassword=true/' /usr/share/sddm/themes/sugar-dark/theme.conf
|
sudo sed -i 's/ForceHideCompletePassword=false/ForceHideCompletePassword=true/' /usr/share/sddm/themes/sugar-dark/theme.conf
|
||||||
|
|
||||||
|
yay -S protonvpn
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
package.path = package.path .. "~/.config/nvim/lua"
|
||||||
|
require('plug')
|
||||||
|
require('packer').sync()
|
||||||
|
|
Loading…
Reference in New Issue