Skip to content

abiencourt/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 

Repository files navigation

My chezmoi dotfiles

Coding time over the last 30 days

Installation

1. Homebrew

1.1. Install Homebrew and required tools

Install the Homebrew dependencies for Linux

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Warning

Make sure to follow the steps in "next steps" displayed after the installation.

1.2. Install required dependencies

yay -S openssh \
    wl-clipboard

brew install chezmoi \
    jq \
    lastpass-cli

Note

To install hyprland refer to the hyprland documentation.

2. Setup ssh for GitHub

2.1. Create ssh key

mkdir ~/.ssh && cd $_
ssh-keygen -t ed25519 -C "[email protected]" -f "github-abiencourt"

# Copy the public key to clipboard
if [[ $OSTYPE == 'darwin'* ]]; then
    pbcopy <~/.ssh/github-abiencourt.pub
else
    wl-copy <~/.ssh/github-abiencourt.pub # https://neovim.io/doc/user/provider.html#provider-clipboard
fi

# Start the ssh-agent and add the key
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/github-abiencourt

# Add the GitHub SSH key to known_host
curl --silent https://api.github.com/meta |
jq --raw-output '"github.com "+.ssh_keys[]' >>~/.ssh/known_hosts

2.2. Associate the key with GitHub

Add the copied key in your GitHub Profile SSH keys.

3. Login to lastpass-cli

lpass login --trust <email>

4. Getting started with chezmoi

chezmoi init --apply abiencourt

4. Additional steps based on OS

5. Configure GitHub CLI

gh auth login

Tools

List of tools used is available in Tools. Tools and dependencies will be automatically installed through packages.yaml.

KDE Plasma widgets

Configure fingerprint

Once fprintd is installed through packages.yaml, go to "user settings" to add finger print.

More details on the KDE forum: How I got my Fingerprint scanner to work

sudo nano /etc/pam.d/sudo

👇

#%PAM-1.0
auth            sufficient      pam_fprintd.so
auth            include         system-auth
account         include         system-auth
session         include         system-auth

To-Do

  • Create a bootstrap script to install the brew bases and login to lastpass
  • Look at Timeshift and find out how to partition properly
  • Work on the format with {{ end -}}
  • Delete /home.orig/ when sure that nothing is broken
  • Change zsh/ to exact_zsh/
  • Finish to setup wtfutil
  • Finish setting up required tools for lf previewer => https://github.com/NikitaIvanovV/ctpv
  • Install howdy, follow the steps on this page
  • Install and configure swww for wallpaper
  • Finish the installation of hyprland
  • add homebrew to packages.yaml
  • Test .first-install.sh script, could it be that --apply while running chezmoi init --apply breaks it
  • Rust installation with rustup-init fails at first install
  • default nvim config has issue with abiencourt.env file
  • write step to install plasma widget and Krohnkite manually

https://mozilla.github.io/webrtc-landing/gum_test.html => to test screensharing features

References

Git multi user

Mount /home from a partition

Using a separate partition/drive as /home is really useful when distro hopping or reinstalling the OS. Below a great article going through each steps of the process.

Warning

As I use brew for most of my cli tools, I rely heavily on the linuxbrew user in /home. The command mv /home /home.orig in the tutorial will break a lot of things on the current logged in session. Best way to avoid this, is to open a new TTY (CTRL+ALT+F3) and run these commands in it.

sudo mv /home /home.orig
sudo mkdir /home
sudo mount /dev/nvme0n1p4 /home/

How to Move Your Linux home Directory to Another Drive

About

Linux config files

Topics

Resources

Stars

Watchers

Forks