donthorp / dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotfiles

Installing on New Machine

Desktop with TV Display

# Generate the xorg.conf file
sudo nvidia-xconfig
# Fix problem with executing nvidia-polkit
sudo chmod +x /usr/share/screen-resolution-extra/nvidia-polkit
# Open settings and make required changes to underscan.
sudo nvidia-settings

Update Packages and Install Required Tools

Pop OS

sudo apt update
sudo apt upgrade -y
sudo apt install snapd -y
snap install chezmoi --classic

You may need to restart to make the initial update effective.

Configure Host Name

Use artemisNN for desktop machines.

sudo hostname -b artemis02

Use borosNN for laptops

sudo hostname -b boros02

Used Names

  • boros01 - Oryx Pro
  • artemis01 - Gaming Machine - 23 Aug 2022

Configure SSH and generate Github Key

Use the naming convention $HOST-github

cd ~
mkdir .ssh
chmod 700 .ssh
cd .ssh
ssh-keygen -t ed25519 -C "don@donthorp.net" -f "$HOSTNAME-github"
cat "$HOSTNAME-github.pub"
echo "Add new key at https://github.com/settings/keys"

Test Key

ssh -T git@github.com

Clone this repo

cd ~
git clone git@github.com:donthorp/dotfiles.git

Pull and Apply dotfiles

chezmoi init git@github.com:donthorp/dotfiles.git

Install Obsidian

flatpak --user install md.obsidian.Obsidian -y

Github CLI

After applying the templates to the system, you'll need to login to the Github CLI client.

Use SSH not HTTPS

git auth login

About

License:Eclipse Public License 2.0


Languages

Language:Clojure 45.6%Language:Shell 28.8%Language:Lua 25.5%