this post was submitted on 27 May 2026
3 points (100.0% liked)

Nix / NixOS

2758 readers
1 users here now

Main links

Videos

founded 3 years ago
MODERATORS
 

With Hyprland moving to Lua, I may make the switch to Lua-based configuration for my Hyprland and Neovim based workflow.

I went with nvf over stock Neovim so that I could handle everything in one language (Nix) as much as possible. I have a few Lua snippets, but that's all.

Now with Hyprland making the switch to Lua as well, I've been considering importing dedicated Lua files into my Nix config.

So, what do you do? Write Nix as much as possible? Use Nix to import your Lua/yaml/etc config? Write other languages as snippets in your .nix files?

you are viewing a single comment's thread
view the rest of the comments
[–] kybean@pawb.social 2 points 1 week ago* (last edited 1 week ago)

Generally, if there's a NixOS/home-manager module for it I'll use that option. Having everything in one place is more important to me tho than having it in one language so there's a few things that I have the native config lang for. nvf is a godsend tho bc I have tried so many times to configure neovim the "regular" way and it is just incomprehensible for new people (or at least it is for me) who have not been in that ecosystem for the seemingly millions of changes the config/setup process has endured over the years