JMartJonesy / kickstart.nixvim

Nix/Nixvim implementation of kickstart.nvim
MIT License
19 stars 9 forks source link

Turn this repository into a nixvim standalone flake template #6

Open HeitorAugustoLN opened 1 month ago

HeitorAugustoLN commented 1 month ago

I think it would be better if this repository was a nixvim standalone flake template, just like kickstart.nvim is a template for a neovim configuration. I might do a PR to a nixvim standalone flake.

JMartJonesy commented 1 month ago

I'm quite new to flakes. A few questions.

If you use a flake for your entire NixOS configuration or for home-manager what would need to be done to also build this flake at the same time?

Nix flakes are still classified as experimental, if you didn't want to enable them would there be any issue with forking and not using the flake but rather importing as the README already details?

HeitorAugustoLN commented 1 month ago

If you use a flake for your entire NixOS configuration or for home-manager what would need to be done to also build this flake at the same time?

You will need to add this flake to your inputs, and then you add the package the flake exports to environment.systemPackages or home.packages

Nix flakes are still classified as experimental, if you didn't want to enable them would there be any issue with forking and not using the flake but rather importing as the README already details?

Standalone doesn't use programs.nixvim prefix, so maybe it would need to change the approach of the import a little bit. Maybe use import or provide separate files for importing to using with nixos and home-manager modules

JMartJonesy commented 1 month ago

I'll have to think about this when I have the time. My first thought is we make this a separate branch and anyone that wants standalone can use this branch with an updated README.

HeitorAugustoLN commented 1 month ago

I think the default branch should be the nixvim standalone flake template, but I don't think it really matters that much.