Skip to content

Adds nix flake based development environment setup#498

Merged
jalvesaq merged 1 commit intomainfrom
add-nix-flake-devenv
Feb 1, 2026
Merged

Adds nix flake based development environment setup#498
jalvesaq merged 1 commit intomainfrom
add-nix-flake-devenv

Conversation

@PMassicotte
Copy link
Collaborator

@PMassicotte PMassicotte commented Jan 31, 2026

I have switched to NixOS a few months ago, and this will use all the needed dev tools for this project.

This is not affecting the plugin, it is only useful for developers using nix flakes.

@PMassicotte PMassicotte changed the title This only adds nix flake based development environment setup Adds nix flake based development environment setup Jan 31, 2026
@PMassicotte PMassicotte marked this pull request as ready for review January 31, 2026 19:02
@jalvesaq
Copy link
Member

Does it have to be in the R.nvim directory? What if we create a repository for extra code, such as this Nix flake setup, a Debian setup, examples of ~/.config/nvim directory (minimal config, complete IDE), etc.?

@PMassicotte
Copy link
Collaborator Author

Nix flakes must be at the repo root for nix develop to work seamlessly. Moving it elsewhere means developers would need nix develop github:org/extras-repo or clone a second repo, which adds friction. But if you prefer, I can just have these files in my local repo uncommitted. Absolutely no problems :)

… only useful for developers using nix flakes.
@jalvesaq
Copy link
Member

jalvesaq commented Feb 1, 2026

The files can be here. I'll merge the pull request.

@jalvesaq jalvesaq merged commit 3db1971 into main Feb 1, 2026
9 checks passed
@jalvesaq jalvesaq deleted the add-nix-flake-devenv branch February 1, 2026 12:12
@PMassicotte
Copy link
Collaborator Author

PMassicotte commented Feb 1, 2026

What if we create a repository for extra code, such as this Nix flake setup, a Debian setup, examples of ~/.config/nvim directory (minimal config, complete IDE), etc.?

I still think this would be a very good idea for Debian/nixos setup with examples.

@jalvesaq
Copy link
Member

jalvesaq commented Feb 1, 2026

Any suggestion of name for this repository?

@PMassicotte
Copy link
Collaborator Author

Something like r-nvim-config-examples?

@jalvesaq
Copy link
Member

jalvesaq commented Feb 1, 2026

Something like r-nvim-config-examples?

It can be this name. Would you want to start it? I think it would have one directory for each example.

@PMassicotte
Copy link
Collaborator Author

I went with https://github.com/R-nvim/R.nvim-config-examples.

It can be this name. Would you want to start it? I think it would have one directory for each example.

Good idea!

@gueyenono
Copy link

gueyenono commented Feb 1, 2026

@PMassicotte Thank you so much for this. I can't wait to see some examples. Although I don't use NixOS, my entire computer configuration is managed by Nix home manager.

@PMassicotte
Copy link
Collaborator Author

@PMassicotte Thank you so much for this. I can't wait to see some examples. Although I don't use NixOS, my entire computer configuration is managed by Nix home manager.

Thank you!

Next week will be mostly a conference week, so I wont have much time, but I will work on that asap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants