This repo contains config for my devices. It uses
This repo is not supposed to be used by others as it's highly personalized. However, there are a few tricks that might be valuable to those who want to configure their system with Nix.
- Use direnv to load Neovim lua modules directly from repo instead of Nix store.
- This speeds up the edit-run loop when tweaking Neovim config, compared to the typical
workflow that involves
nixos-rebuild
. - Check .envrc
- This speeds up the edit-run loop when tweaking Neovim config, compared to the typical
workflow that involves
- Use subflake to manage extra plugins for Neovim and fish.
- It uses (https://github.com/ursi/get-flake) to eval flake by relative path.
(
builtins.getFlake
cannot eval flake by path, unless under--impure
.) - Alternatively it can use path-based flake input, but there is some UX issue on the implementation (see NixOS/nix#3978 (comment)).
- Check flake.nix and overlays/flakes/neovim
- It uses (https://github.com/ursi/get-flake) to eval flake by relative path.
(