Skip to content

vhoyer/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My .dotfiles configurations

So yeah, the motivations behind all this is: man, it feels freaking awesome to sit on a new computer just clone your .dotfiles repository and run a command to install everything you need. And so I did am doing it!

wiki

So if you are my stalker, you probably saw that I had a personal wiki section here, right? Well, I moved it to its own repository.

EDIT:

I've moved the studies repo back to this one because in the end is more convenient event if it doesn't make all the sense in the world, 🤷.

Dependencies

  • a Unix system (I'm making it for Manjaro, so I don't guarantee it works on other systems)
  • Git
  • GNU make (or any program capable of reading and executing a Makefile)
  • pacman package manager
  • sudo

I think that's it, I may be wrong, and if so, then I'm sorry.

Quick ssh-key to clipboard

Because I never remember that command:

bash <(curl -s https://raw.githubusercontent.com/vhoyer/dotfiles/master/scripts/generate-ssh-key.sh) <[email protected]>

GPG key generation

# list all the keys in your key ring
gpg --list-keys
# create a new key (follow the wizard) (recommended: highest bits, 1y expiration)
# after typing the passphrase, immediately begin performing random actions on
# your pc to increase entropy
gpg --full-generate-key
# edit the key
# it opens a console where you can type some commands
# > list # to list all keys and sub keys
# > key 0 # to select a key based on index (0 based)
# > expire # to edit the expiration date of your key, you can use this to renew it
gpg --edit-key <[email protected]>
# change your passphrase
gpg --passwd <[email protected]>

If you do renew your key, you should edit the expiration date of all your sub keys as well as the primary.

It is possible to revoke your key in case of compromise, I will let future me search the process up if it is ever needed.

If you need to move your configuration for GPG keys to a new computer, my recommendation it to zip the ~/.gnupg folder, save it to a thumb drive and copy it over to the new machine. Just pay attention to the file permissions.

Reference: https://www.youtube.com/watch?v=1vVIpIvboSg

Quick start

With all dependencies installed, you may clone the repository:

git clone [email protected]:/vhoyer/dotfiles.git
cd dotfiles

And run make on that directory and follow it's instructions:

make

You may also choose what you want to setup manually, by calling:

make <insert here name of rule>

Example if you only want to setup git:

make setup-git

I will not list what rules are present on the Makefile to lower the chances of this README.md get out of date.

Roadmap

  • make an script to install it all!
    • when installing yay packages, don't ask for [Y/n] to continue (it just need a yes | yay ..., but it cannot be used if yay asks for choosing installation, see next topic)
    • when installing yay packages, don't ask for default (e.g.: google-chrome? 1=stable; 2=beta; etc)
  • install nvim
    • install gruvbox
    • install neoranger
    • install stefandtw/quickfix-reflector.vim
  • install zsh
    • install oh-my-zsh
  • install i3
  • install and use st
  • install google-chrome
    • make it default
    • install and use a better default font with emoji support :D
  • make two monitor setup work
  • setup that modular key bindings program: sxhkd
  • make scripts/make-swapfile.sh
    • have an --help parameter
    • have a undo option
    • have the option to choose how much memory to allocate the swap
  • install redshift
  • make ./home-files/.local/bin/commitizen
    • have a way to automatically commit formated

About

my ideia of a perfect system [wip]

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published