Skip to content

It's a collection of dotfiles and other configuration files. what do you expect as a description of which the fucking name is "Dotfiles"?

Notifications You must be signed in to change notification settings

Abrynos/Dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

As root

Replace /etc/apt/sources.list:

# stable updates
deb http://deb.debian.org/debian/ stable main contrib non-free
deb http://deb.debian.org/debian/ stable-updates main contrib non-free
deb http://deb.debian.org/debian-security stable-security main

# testing updates
deb http://deb.debian.org/debian/ testing main contrib non-free
deb http://deb.debian.org/debian/ testing-updates main contrib non-free
deb http://deb.debian.org/debian-security testing-security main
apt update
apt dist-upgrade
apt install xinit i3 vim git network-manager debconf sudo
echo -e "Defaults\tinsults" > /etc/sudoers.d/addInsults
usermod -aG sudo {username} # replace "{username}" with normal username
service sudo restart

From here on we do not need the root user any more.

As normal user

Now that git is installed, it's time to git clone this repository to normal users home directory. Copy and pasting the things to come is easier than typing them manually.

chmod 710 /home/$USER # makes sure stuff like ~/.cache/thumbnails (and other stuff) is not readable
sudo apt install scrot i3blocks curl kitty thunar gvfs gvfs-backends gvfs-fuse lxappearance inkscape lm-sensors numlockx imagemagick fonts-font-awesome rofi picom feh chromium chromium-sandbox acpi gtk2-engines-pixbuf x11-xserver-utils vifm alsa-utils volumeicon-alsa neofetch evince pulseaudio pavucontrol xclip texlive-full htop vlc gnome-themes-extra libreoffice
sudo reboot # not really required but a nice thing to do

Configuration

networks

Use nmtui or nmcli to configure network access. This note is especially concerned about the local DNS server.

Edit /etc/nsswitch.conf. The line concerned about hosts should list dns first followed by files and nothing more (or just a comment alternatively).

monitor and visual configuration

Change primary monitor (execute when only that one is connected or choose manually instead of the grep/sed evaluation).

xrandr --output $(xrandr | grep \ connected | sed "s/ .*//g") --primary

Run lxappearance and choose a Adwaita-dark in the GUI

ssh key

ssh-keygen -t "ed25519" -C "${USER}@${HOSTNAME}.local" -f "${HOME}/.ssh/id_ed25519"

gpg key

gpg --default-new-key-algo "ed25519" --gen-key

For import to GitHub and similar services:

gpg --armor --export # in case of multiple keys, append ID of wanted key obtainable via gpg --list-keys

For GitHub: Make sure the email in the gpg key is the same as the email configured in git below.

git configuration

git config --global core.editor "vim"
git config --global user.name "Abrynos"
git config --global user.email "6608231+Abrynos@users.noreply.github.com"
git config --global pull.rebase true
git config --global commit.gpgsign true

In case of multiple gpg keys, add git config --global user.signingKey {id} replacing {id} with the ID of the wanted key, obtainable via gpg --list-keys.

vim configuration

curl -fLo ~/.config/vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
vim +PlugUpgrade +PlugUpdate +qall

certificates

  • Copy root certificate to /usr/local/share/ca-certificates/
  • Run sudo update-ca-certificates

Audio control

After a reboot open preferences of sound icon in status bar and set the external mixer to 'pavucontrol'

IDEs

JetBrains

Install JetBrains Toolbox.

wget --show-progress -qO ./toolbox.tar.gz "https://data.services.jetbrains.com/products/download?platform=linux&code=TBA"
TOOLBOX_TMP_DIR=$(mktemp -d)
tar -C "$TOOLBOX_TMP_DIR" -xf ./toolbox.tar.gz
rm ./toolbox.tar.gz
$TOOLBOX_TMP_DIR/*/jetbrains-toolbox
rm -r "$TOOLBOX_TMP_DIR"

mkdir -p $HOME/bin
ln -s $HOME/.local/share/JetBrains/Toolbox/bin/jetbrains-toolbox $HOME/bin/jetbrains-toolbox

About

It's a collection of dotfiles and other configuration files. what do you expect as a description of which the fucking name is "Dotfiles"?

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published