Go to file
Hung d5d4415d5c ts-ql is useless :) 2023-06-17 20:33:06 -07:00
docs add some more hints on the default settings for neovim; just go with alejandra formatter; add more docs on qa 2023-06-17 20:32:15 -07:00
hosts format with alejandra and other things 2023-06-17 17:46:31 -07:00
modules format with alejandra and other things 2023-06-17 17:46:31 -07:00
native_configs ts-ql is useless :) 2023-06-17 20:33:06 -07:00
nix/cells add some more hints on the default settings for neovim; just go with alejandra formatter; add more docs on qa 2023-06-17 20:32:15 -07:00
nix-conf add some more hints on the default settings for neovim; just go with alejandra formatter; add more docs on qa 2023-06-17 20:32:15 -07:00
out-of-tree add some more hints on the default settings for neovim; just go with alejandra formatter; add more docs on qa 2023-06-17 20:32:15 -07:00
scripts fix: darwin spotlight patch; extra: debugging neovim-cmp type 2023-06-15 12:46:01 -07:00
secrets format with alejandra and other things 2023-06-17 17:46:31 -07:00
templates format with alejandra and other things 2023-06-17 17:46:31 -07:00
users format with alejandra and other things 2023-06-17 17:46:31 -07:00
.envrc fix(neovim): Just pin neovim correctly to its latest working nightly 2023-05-16 09:26:57 -07:00
.gitignore wip: copy to some remote cache 2023-03-23 21:50:49 -07:00
.luarc.json zsh vi-mode is ok. multiline command editing only possible once it hits history, though 2022-12-29 20:43:17 -07:00
.sops.yaml add sops 2023-03-23 00:41:44 -07:00
README.md feat: add couple more vim plugins via nixpkgs 2023-06-11 23:51:47 -07:00
credentials.yml credentials: add new user; add postman to work darwin 2023-02-28 12:04:25 -07:00
default.nix format with alejandra and other things 2023-06-17 17:46:31 -07:00
dev-shell.nix format with alejandra and other things 2023-06-17 17:46:31 -07:00
flake.lock format with alejandra and other things 2023-06-17 17:46:31 -07:00
flake.nix format with alejandra and other things 2023-06-17 17:46:31 -07:00
overlays.nix fix(neovim): Just pin neovim correctly to its latest working nightly 2023-05-16 09:26:57 -07:00
secrets.nix format with alejandra and other things 2023-06-17 17:46:31 -07:00
shell.nix format with alejandra and other things 2023-06-17 17:46:31 -07:00

README.md

dotfiles

Contains my configurations for the software I use.

I'm looking to move forward to configuration with NixOS, but until I get a bit more experiment on NixOS, I'll keep this repository as simple as possible.

  • As of 2023-06-07, I have little interest in keeping configurations (init.lua, sshconfig,...) to be idempotent for Nix and non-Nix targets.

Nix

Monorepo that contains my commonly used personal environments. I hope to incorporate my configs at gh:pegasust/dotfiles onto this repo for quick env setup (especially devel) on new machines.

How do I apply these config

  • Clone and nixify

neovim

My main text editor. It's based on vim, but stays loyal to lua ecosystem

  • Config file: ./nvim/init.lua
  • Command: ln [-s] $PWD/nvim/init.lua ~/.config/nvim

Notes

  • Ensure that neovim is installed and invocable by nvim.
  • For information on installing neovim, visit their github page

tmux

Terminal multiplexor. Allows creating persistent sessions and multiple terminal windows from one terminal.

  • Config file: ./tmux/tmux.conf
  • Command: ln [-s] $PWD/tmux/tmux.conf ~/.tmux.conf
    • Or ln [-s] $PWD/tmux/tmux.conf ~/.config/tmux/tmux.conf (hardcoded, $XDG_CONFIG_HOME is ignored)

Notes

  • Unsure of the minimum version of tmux. I have had an ancient HPC server that does not respond well to one of the config lines.

zk

Zettelkasten notebook. This is how I document my learning and reflect on myself via writing and typing.

I am in the process of moving away from Obsidian so that I can write ZK notes text-editor agnostically.

  • Config file: zk/config.toml

  • Command: ln [-s] $PWD/zk/config.toml ~/.config/zk/config.toml

  • Templates: zk/templates/

  • Command: ln -s $PWD/zk/templates ~/.config/zk/templates

Note (2023-06-07): I'm now using a mix of nvim-zk with Notion. I'm still figuring out a centralize place to put my notes and use it to do some knowledge graph magic

Troubleshoots

My MacOS just updated, nix is no-longer here

  • An easy fix is to add the following to the bottom of /etc/zshrc
# Nix {{{
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
  . '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
fi
# }}}