85 lines
2.6 KiB
Bash
85 lines
2.6 KiB
Bash
# TODO:
|
|
# - [x] Add server SSH keys and PC ssh keys
|
|
# - [ ] Mount /proton on startup
|
|
# - [x] Hibernate if not using PC for 10 minutes
|
|
#
|
|
# - [x] Mount /lenovo-laptop
|
|
# - [x] Mount server /server-vps
|
|
#
|
|
# - [x] Combine apps + bin + bookmarks
|
|
# - [x] Use .desktop file name instead of "Name" parameter
|
|
# - [ ] Firefox bookmarks
|
|
# - [x] everything relevant wmenu browser (programs and scripts without arguments, bookmarks, files)
|
|
# - [x] plocate + wmenu > xdg-open
|
|
# - [x] applications + bin folder
|
|
# - [x] bookmarks
|
|
#
|
|
# - [ ] Start sway in tmux session for debugging
|
|
#
|
|
# - [ ] Kakoune setup
|
|
# - [ ] Ideas for Chinese learning integration
|
|
#
|
|
# Solutions in search for problems:
|
|
# - [ ] tmux automation
|
|
#
|
|
|
|
|
|
## Setup sudo for user
|
|
# su root
|
|
# export PATH="$PATH:/usr/sbin"
|
|
# apt install sudo git
|
|
# usermod -aG sudo kk
|
|
# exit # exit root
|
|
# exit # exit user to reload config
|
|
|
|
## Basic utilities
|
|
# sudo apt install -y clang cmake build-essential make tcc vim ripgrep curl git man-db plocate tmux fzf dtrx
|
|
# sudo updatedb
|
|
|
|
## Update grub to not wait on bootloader screen @todo: automate
|
|
# sudo vi /etc/default/grub
|
|
# GRUB_TIMEOUT=0
|
|
# GRIM_TIMEOUT_STYLE=hidden
|
|
|
|
## Drivers
|
|
## Need to update /etc/apt/sources.list (add contrib non-free non-free-firmware) @todo: automate
|
|
# sudo apt update
|
|
# sudo apt install -y nvidia-driver firmware-misc-nonfree linux-headers-amd64
|
|
## Then do some nvidia configuration (set modeset=1, update ramfs, reboot)
|
|
|
|
# # Standard enviroment setup
|
|
# sudo apt install -y xdg-desktop-portal-wlr xdg-desktop-portal-gtk xdg-user-dirs fonts-jetbrains-mono
|
|
|
|
# # DE setup
|
|
# sudo apt install -y sway swayidle swaybg swaylock foot wmenu brightnessctl xwayland wl-clipboard
|
|
|
|
# # Issue fix
|
|
# # there were issues because user was not in render group (error messages on start of sway)
|
|
# sudo usermod -aG video,render kk
|
|
|
|
# # Setup audio
|
|
# sudo apt install -y pipewire pipewire-pulse wireplumber pavucontrol
|
|
|
|
## Copy over ssh keys to relevant machines @user_action
|
|
ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519 -N ""
|
|
|
|
## Setup ssh drives
|
|
# sudo apt install -y sshfs
|
|
## Mount the drives using /etc/fstab automatically
|
|
## Example:
|
|
##
|
|
## root@157.90.144.237:/ /server-vps fuse.sshfs noauto,x-systemd.automount,_netdev,x-systemd.idle-timeout=2min,x-systemd.mount-timeout=10s,reconnect,ServerAliveInterval=15,ServerAliveCountMax=3,IdentityFile=/home/kk/.ssh/id_ed25519,UserKnownHostsFile=/home/kk/.ssh/known_hosts,StrictHostKeyChecking=accept-new,allow_other,default_permissions 0 0
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
# # Setup internet
|
|
# # sudo apt install w3m surfraw
|
|
# sudo apt install chromium
|
|
|
|
# Extra
|
|
## Clipboard history
|
|
# sudo apt install cliphist
|