Add opencode.nvim
This commit is contained in:
51
TODO.md
51
TODO.md
@@ -33,11 +33,9 @@ This file tracks remaining tasks and known issues for the NixOS configuration.
|
||||
|
||||
- [ ] Consider adding additional shell aliases
|
||||
- [ ] Review if any macOS-specific tools need Linux alternatives
|
||||
- [ ] Consider adding dircolors configuration
|
||||
|
||||
### Documentation
|
||||
|
||||
- [ ] Add screenshots of tmux setup
|
||||
- [ ] Document custom Neovim configuration (lua files)
|
||||
- [ ] Create troubleshooting guide for common issues
|
||||
|
||||
@@ -51,69 +49,20 @@ This file tracks remaining tasks and known issues for the NixOS configuration.
|
||||
|
||||
These were not in the original Home Manager config but might be useful on NixOS:
|
||||
|
||||
- [ ] Desktop environment / Window manager
|
||||
- [ ] Display manager (GDM, SDDM, LightDM)
|
||||
- [ ] Sound configuration (PipeWire/PulseAudio)
|
||||
- [ ] Printing support
|
||||
- [ ] Bluetooth support
|
||||
- [ ] Docker / Podman
|
||||
- [ ] Virtualization (QEMU/KVM)
|
||||
|
||||
## Known Issues
|
||||
|
||||
### Nvim Configuration Files
|
||||
|
||||
The nvim configuration references lua files from the parent directory:
|
||||
```nix
|
||||
initLua = builtins.concatStringsSep "\n" [
|
||||
(lib.strings.fileContents ../../../nvim/base.lua)
|
||||
(lib.strings.fileContents ../../../nvim/keymaps.lua)
|
||||
(lib.strings.fileContents ../../../nvim/plugins.lua)
|
||||
(lib.strings.fileContents ../../../nvim/filetype.lua)
|
||||
];
|
||||
```
|
||||
|
||||
**Status**: Should work if nvim/ directory exists at `/home/pan/dev/config/dot/nvim/`
|
||||
|
||||
**Action**: Verify these files exist or adjust paths
|
||||
|
||||
### Profile Loading
|
||||
|
||||
The shell configuration is now configurable via `dot.sh.sourceProfile`:
|
||||
```nix
|
||||
profileExtra = lib.mkIf cfg.sourceProfile ''
|
||||
source $HOME/.profile
|
||||
'';
|
||||
```
|
||||
|
||||
**Status**: Disabled by default. Only enabled for work host.
|
||||
|
||||
**Action**: Verify `~/.profile` exists on hosts where `dot.sh.sourceProfile = true` is set.
|
||||
|
||||
## Testing Checklist
|
||||
|
||||
Before considering this configuration complete:
|
||||
|
||||
- [ ] System boots successfully
|
||||
- [ ] User can login as `pan`
|
||||
- [ ] Zsh loads with Prezto
|
||||
- [ ] Tmux starts without errors
|
||||
- [ ] Neovim opens and plugins load
|
||||
- [ ] LSP servers work in Neovim
|
||||
- [ ] Git commands work with correct identity
|
||||
- [ ] Lazygit opens and works
|
||||
- [ ] Jujutsu commands work
|
||||
- [ ] Taskwarrior shows tasks
|
||||
- [ ] Direnv loads `.envrc` files
|
||||
- [ ] fzf keybindings work (Ctrl+R)
|
||||
- [ ] zoxide navigation works
|
||||
- [ ] All shell aliases work
|
||||
|
||||
## Future Enhancements
|
||||
|
||||
- [ ] Add backup/restore scripts
|
||||
- [ ] Create CI/CD for testing configuration
|
||||
- [ ] Add secrets management (agenix or sops-nix)
|
||||
- [ ] Consider using flake-parts for better organization
|
||||
- [ ] Add system monitoring tools
|
||||
- [ ] Configure automatic updates
|
||||
|
||||
@@ -59,6 +59,7 @@ in
|
||||
copilot-lua
|
||||
copilot-cmp
|
||||
CopilotChat-nvim
|
||||
opencode-nvim
|
||||
bullets-vim
|
||||
nvim-dap
|
||||
nvim-nio
|
||||
|
||||
@@ -96,6 +96,7 @@ in
|
||||
ripgrep-all
|
||||
viddy
|
||||
duf
|
||||
lsof
|
||||
];
|
||||
|
||||
home.sessionVariables = {
|
||||
|
||||
Reference in New Issue
Block a user