this post was submitted on 22 Dec 2025
6 points (100.0% liked)

Nix / NixOS

2576 readers
1 users here now

Main links

Videos

founded 2 years ago
MODERATORS
 

I'm starting to have a lot of flake inputs in my flake.nix file, and it's starting to get really cluttered. I'm wondering if there's a way to separate my inputs into multiple files so it looks cleaner. I've tried to look it up but couldn't really find anything abt it

Edit: Well as it turns out it's not something possible yet, apparently the flake.nix file isn't parsed like regular nix files and doesn't support stuff like import

you are viewing a single comment's thread
view the rest of the comments
[–] claymorwan@lemmy.blahaj.zone 1 points 2 weeks ago

o yea now i see better how it works, all i gotta do is learn some emacs stuff and then i should be able to do it, thanks a lot!