Last active
September 26, 2022 18:36
-
-
Save KiaraGrouwstra/02feef7eb5ac77829a9156d283835eb1 to your computer and use it in GitHub Desktop.
Arch install notes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# follow https://www.addictivetips.com/ubuntu-linux-tips/how-to-install-arch-linux/, except: | |
# - use `/dev/sdb` | |
# - let ext4 get 100%, not swap | |
# - ditch grub for systemd-boot, see https://www.addictivetips.com/ubuntu-linux-tips/set-up-systemd-boot-on-arch-linux/ | |
# - in install step swap `xorg-server-utils` for `xorg-apps` -- just in case also install `dialog`, `dhcpcd`, `linux-firmware` and `wpa_supplicant` | |
# also see: https://wiki.archlinux.org/index.php/Installation_guide | |
# bluetooth | |
sudo pacman -S bluez bluez-utils | |
systemctl enable bluetooth | |
# - connect bluetooth devices | |
# clock | |
timedatectl set-ntp true | |
sudo ln -sf /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime | |
# no password | |
sudo visudo /etc/sudoers.d/10-installer | |
# %wheel ALL=(ALL) NOPASSWD: ALL | |
# gnome settings | |
gsettings set org.gnome.desktop.screensaver lock-enabled false | |
gsettings set org.gnome.shell.app-switcher current-workspace-only true | |
# install | |
sudo pacman -S git firefox telegram-desktop tldr xdg-user-dirs bluez arandr zsh vim chrome-gnome-shell | |
sudo ln -s /usr/bin/vim /usr/bin/vi | |
# - log in to firefox, fix search engine to DDG | |
# zsh | |
zsh | |
sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)" | |
omz theme set agnoster | |
# https://github.com/abhigenie92/zsh_to_fish | |
vim ~/.zshrc | |
# add groups | |
sudo gpasswd -a kiara tty | |
sudo gpasswd -a kiara lp | |
sudo gpasswd -a kiara games | |
sudo gpasswd -a kiara video | |
sudo gpasswd -a kiara audio | |
sudo gpasswd -a kiara optical | |
sudo gpasswd -a kiara docker | |
# misc | |
sudo vim /etc/hostname | |
# klink | |
sudo vim /etc/hosts | |
# 127.0.0.1 localhost | |
# ::1 localhost | |
# # 127.0.1.1 myhostname.localdomain myhostname | |
# yay | |
cd ~/Downloads | |
git clone https://aur.archlinux.org/yay.git | |
cd yay | |
makepkg -si | |
# appearance | |
git clone 'https://github.com/paperwm/PaperWM.git' \ | |
"${XDG_DATA_HOME:-$HOME/.local/share}/gnome-shell/extensions/paperwm@hedning:matrix.org" | |
cd $HOME/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/ | |
# git checkout next-release | |
bash ./set-recommended-gnome-shell-settings.sh | |
gnome-shell-extension-tool -e paperwm@hedning:matrix.org | |
# alt-f2 -> r | |
# https://extensions.gnome.org/extension/973/switcher/ | |
# https://extensions.gnome.org/extension/307/dash-to-dock/ | |
yay -S paper-icon-theme-git adapta-gtk-theme | |
# tweaks -> appearance -> icons: paper, applications/shell: adapta-nokto-eta | |
# AUR | |
yay -S man-db man-pages less find-the-command thefuck brave-bin vlc-git webtorrent-desktop-bin megasync-git mathpix-snipping-tool vmware-workstation libreoffice-fresh gitkraken json-yaml | |
# fix search engine, search https://chrome.google.com/webstore/category/extensions | |
# lastpass, autoscroll, stylish, gsconnect, freshstart, gnome-shell, gmail | |
# chromium extensions: https://github.com/mdamien/chrome-extensions-archive/issues/8 | |
# sudo mkdir -p /etc/opt/chrome/policies/recommended | |
sudo mkdir -p /etc/opt/chrome/policies/managed | |
sudo chmod -w /etc/opt/chrome/policies/managed | |
sudo vim /etc/opt/chrome/policies/managed/test_policy.json | |
# { "ExtensionInstallForcelist": ["occjjkgifpmdgodlplnacmkejpdionan;https://clients2.google.com/service/update2/crx", "nmidkjogcjnnlfimjcedenagjfacpobb;https://clients2.google.com/service/update2/crx", "gphhapmejobijbbhgpjhcjognlahblep;https://clients2.google.com/service/update2/crx", "jfnifeihccihocjbfcfhicmmgpjicaec;https://clients2.google.com/service/update2/crx", "hdokiejnpimakedhajhdlcegeplioahd;https://clients2.google.com/service/update2/crx", "dcjichoefijpinlfnjghokpkojhlhkgl;https://clients2.google.com/service/update2/crx", "fjnbnpbmkenffdnngjfgmeleoegfcffe;https://clients2.google.com/service/update2/crx", "gcalenpjmijncebpfijmoaglllgpjagf;https://clients2.google.com/service/update2/crx", "dbepggeogbaibhgnhhndojpepiihcmeb;https://clients2.google.com/service/update2/crx"] } | |
#, ";https://clients2.google.com/service/update2/crx" | |
# prevent auto-wake: enable only LID0/PWRB in /proc/acpi/wakeup as per https://reddit.com/r/archlinux/comments/3zxg65/how_to_permanently_change_procacpiwakeup_or/ | |
sudo vim /etc/systemd/system/wakeup.service | |
# [Unit] | |
# Description=something | |
# [Service] | |
# ExecStart=/bin/bash -c "echo PSK2 >> /proc/acpi/wakeup; echo EHC1 >> /proc/acpi/wakeup; echo EHC2 >> /proc/acpi/wakeup; echo XHC >> /proc/acpi/wakeup" | |
# [Install] | |
# WantedBy=multi-user.target | |
sudo systemctl daemon-reload | |
sudo systemctl start wakeup | |
systemctl status wakeup | |
sudo systemctl enable wakeup | |
# IDEs | |
yay -S vscodium-bin pycharm-professional intellij-idea-ultimate-edition ihaskell-git | |
# vscode extensions | |
vscodium --install-extension PKief.material-icon-theme | |
vscodium --install-extension Equinusocio.vsc-material-theme | |
vscodium --install-extension EditorConfig.EditorConfig | |
vscodium --install-extension bbenoist.Nix | |
vscodium --install-extension ms-python.python | |
vscodium --install-extension dragos.scala-lsp | |
vscodium --install-extension skyapps.fish-vscode | |
vscodium --install-extension justusadam.language-haskell | |
vscodium --install-extension TabNine.tabnine-vscode | |
vscodium --install-extension jcanero.hoogle-vscode | |
vscodium --install-extension Vans.haskero | |
# fonts | |
sudo pacman -S ttf-twemoji-color | |
# https://askubuntu.com/questions/1161516/ubuntu-18-04-gnome-3-28-how-to-change-default-emoji-font-noto-color-emoji | |
# follow https://www.reddit.com/r/archlinux/comments/5r5ep8/make_your_arch_fonts_beautiful_easily/ | |
# ssh | |
mkdir ~/.ssh | |
curl https://gitlab.com/KiaraGrouwstra/nix-config/-/raw/master/dotfiles/.ssh/id_rsa.pub > ~/.ssh/id_rsa.pub | |
vim ~/.ssh/id_rsa | |
# get from my secret gist | |
chmod 0600 ~/.ssh/id_rsa | |
ssh-add ~/.ssh/id_rsa | |
# dotfiles | |
cd ~/Downloads | |
git clone [email protected]:KiaraGrouwstra/nix-config.git | |
cd nix-config/dotfiles/ | |
# copy over relevant dotfiles | |
# fcitx | |
yay -S fcitx fcitx-mozc fcitx-cloudpinyin fcitx-googlepinyin fcitx-sogoupinyin | |
# ml | |
yay -S cuda miniconda3 python-pytorch-opt-cuda nvidia-container-toolkit python-tensorflow-opt-cuda tensorboard | |
systemctl enable docker.service | |
# nix | |
curl https://nixos.org/nix/install | sh | |
sudo chown -R kiara /nix | |
nix-channel --update | |
nix-env -u | |
# move off SSD as per https://cs-syd.eu/posts/2019-09-14-nix-on-seperate-device | |
# for fish use https://gitlab.com/KiaraGrouwstra/dotfiles/tree/master/home/tycho/.config/fish | |
# gaming | |
yay -S steam lutris gamehub cemu dolphin-emu retroarch | |
# auto switch to strongest wifi | |
# https://www.reddit.com/r/linux/comments/bbzm9t/automatically_switch_to_the_strongest_wifi_signal/ | |
# auto start from e.g. /etc/X11/xinit/xinitrc.d/90-update-network.sh | |
# auto-mirror to external display | |
# https://askubuntu.com/questions/1427414/make-mirroring-displays-the-default-in-gnome/1432033#1432033 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
guides I followed:
xorg-server-utils
forxorg-apps
,dialog
andwpa_supplicant
.also, I need to use
/dev/sdb
.