~rlamacraft/dotfiles

My personal config files for a variety of programs that make up my development environment
Working with camel case pieces
Don't mess with path
Don't style invisible chars

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~rlamacraft/dotfiles
read/write
git@git.sr.ht:~rlamacraft/dotfiles

You can also use your local clone with git send-email.

#Dotfiles

My personal config files for a variety of programs that make up my development environment

#Setup

#Step 1: Clone this repo

  • Must be to $HOME/Documents

#Step 2: Tools to install

  1. Bash, if not installed
  2. Nix
  3. Wezterm, if on mac os

#Step 3: Symlinking

dotfiles=$HOME/Documents/dotfiles
ln -s $dotfiles/shell.nix $HOME/shell.nix

git Edit $HOME/.gitconfig so that there exists

[diff]
  colorMoved = zebra
  algorithm = histogram
[commit]
  template = <$dotfiles>/.gitmessage.txt
  gpgsign = true
  verbose = true
[rebase]
  abbreviateCommands = true
[status]
  showStash = true
[merge]
  conflictStyle = diff3

where <$dotfiles> is the full path as $dotfiles is defined above

#Step 4: Mac specific stuff

  • Follow the instructions in the "macSetup.org" file

#Step 5: Using the sounds files

Here is an example

echo 'done
[ERROR]' | awk '{print $0}; $0 ~ "done" {system("afplay $SOUNDS/done/1.mp3 &")}; $0 ~ "ERROR" {system("afplay $SOUNDS/error/1.mp3 &")}'

Sources of audio files

#Debugging issues

I am using the unstable nix channel to have access to packages that aren't necessarily stable. To ensure that all of the dependencies in shell.nix are available, do the following:

  1. Check that the unstable channel is set up. Run nix-channel --list and make sure that it says the following
nixpkgs https://nixos.org/channels/nixpkgs-unstable
  1. If it does not the run these commands
nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs
nix-channel --update
  1. If when running nix-shell nix complains about broken packages then set the env variable just as it suggests
export NIXPKGS_ALLOW_BROKEN=1
  1. Now run nix-shell and all should work