Skip to content

onnimonni/dotfiles

Repository files navigation

dotfiles

Coding should be fun!

@onnimonni dotfiles. I'm full stack developer but I mainly work on devops and backend. These are my configs. This is personal backup for myself but hopefully you find it useful too.

Big thanks for @anttiviljami for years of guidance. I hope someday I will learn to play vimgolf but until then I will need these cheats.

Stuff which is probably useful only for me

  • Custom keyboard mappings with karabiner-elements
  • This includes my own keyboard layout based on Dvorak ( I implemented small tweaks for finnish language ).

Installation on fresh MacOS

# Install Xcode Command line tools to get git
$ xcode-select --install

# Clone the dotfiles and run the installation script
$ git clone https://github.com/onnimonni/dotfiles ~/.dotfiles

$ ~/.dotfiles/.install.sh

To update everything

This command updates flake dependencies, nix, brew and duckdb extensions:

$ update-all

After installation config

  1. Create new ssh key in Secretive
  2. Copy the public key into ~/.ssh/secretive.pub
  3. Add it into Github as new SSH key both as signing key and authentication key

Add API key for Gemini

You can create a new API key to use Gemini from command line here: https://aistudio.google.com/app/apikey

echo 'export GEMINI_API_KEY="XXXXXX"' >> ~/.secrets.fish

Update configs from Github

# This only works in fish shell
$ update-dotfiles

Common fixes

warning: Nix search path entry

If you get following messages:

warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring

You can fix them by running:

sudo nix-channel --update nixos

Source

Docs for common procedures

UNLICENSE

Use these dotfiles as you want to. Sharing is caring!

About

@onnimonni dotfiles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published