Go to file
Hung bbcc5a14b7 wip: error building kpcli-py :/
error: builder for '/nix/store/sacq2mx2i7f4230sy0j2m36av73xsjc7-python3.10-pip-23.0.1.drv' failed with exit code 1;
       last 10 log lines:
       > updateAutotoolsGnuConfigScriptsPhase
       > configuring
       > no configure script, doing nothing
       > building
       > Executing setuptoolsBuildPhase
       > Traceback (most recent call last):
       >   File /private/tmp/nix-build-python3.10-pip-23.0.1.drv-0/pip-23.0.1-source/nix_run_setup, line 3, in <module>
       >     import setuptools
       > ModuleNotFoundError: No module named 'setuptools'
       > /nix/store/mymsi43djixs7aiqfb9gpms4jllszfrg-stdenv-darwin/setup: line 1601: pop_var_context: head of shell_variables not a function context
       For full logs, run 'nix log /nix/store/sacq2mx2i7f4230sy0j2m36av73xsjc7-python3.10-pip-23.0.1.drv'.
2023-03-24 09:39:29 -07:00
docs even more stuffs for top-level nix-flake 2022-12-25 03:54:10 -07:00
hosts resolve hosts/default.nix 2023-01-14 06:04:43 -07:00
modules before nuking top-level-wip again 2023-02-22 11:08:07 -07:00
native_configs wip: tmux 2023-03-22 16:35:03 -07:00
nix-conf wip: error building kpcli-py :/ 2023-03-24 09:39:29 -07:00
out-of-tree add flake-compat for out-of-tree bc maintainer seems ded 2023-01-14 06:50:50 -07:00
scripts wip: error building kpcli-py :/ 2023-03-24 09:39:29 -07:00
secrets nix-fmt 2023-01-12 23:42:21 -07:00
templates misc changes for credentials, updates on py-poetry template 2023-02-21 08:40:14 -08:00
users nix-fmt 2023-01-12 23:42:21 -07:00
.envrc re-order stuffs around 2022-12-25 02:55:30 -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 add some troubleshooting info 2023-03-23 00:56:15 -07:00
c_.nix clean c_ 2023-02-14 01:56:48 -07:00
credentials.yml credentials: add new user; add postman to work darwin 2023-02-28 12:04:25 -07:00
default.nix clean c_ 2023-02-14 01:56:48 -07:00
dev-shell.nix add sops 2023-03-23 00:41:44 -07:00
flake.lock wip: error building kpcli-py :/ 2023-03-24 09:39:29 -07:00
flake.nix wip: error building kpcli-py :/ 2023-03-24 09:39:29 -07:00
overlays.nix wip: error building kpcli-py :/ 2023-03-24 09:39:29 -07:00
secrets.nix nix-fmt 2023-01-12 23:42:21 -07:00
shell.nix clean c_ 2023-02-14 01:56:48 -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.

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

  • I will always first clone this repository, preferably from local source before going from the github. git clone https://github.com/pegasust/dotfiles

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.
  • My config based on rather experimental version ofnvim (>=0.7.2)
  • 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 if 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

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
# End Nix