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

Nix / NixOS

2748 readers
14 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
[–] juipeltje@lemmy.world 1 points 4 days ago

I prefer using the native language usually, but i also don't manage my dotfiles with home manager at all anymore, because i have scripts that need to edit my dotfiles with sed, so if i need to then rerun home manager switch again every time it slows down my scripts a lot. I know there's out-of-store symlinks for that, but that didn't work either cause sed would always error out when trying to follow the symlink chain, so i just gave up on it.