!yUrHuDcxUngfTlDbiy:matrix.org

flakelight

45 Members
https://github.com/nix-community/flakelight13 Servers

Load older messages


SenderMessageTime
13 Jun 2026
@accelbread:matrix.orgaccelbreadwhat do you mean by that? like modules stored in subdirs?19:00:32
@inomena:matrix.orginomenayeah exactly, I've got a pattern where I group/nest modules based on their context, i.e. I have a desktop module, within that module I have a gnome module, etc20:39:57
@inomena:matrix.orginomenato be explicit; nix/nixosModules/desktop/default.nix, nix/nixosModules/desktop/gnome/default.nix, etc20:41:16
14 Jun 2026
@accelbread:matrix.orgaccelbreadAh yeah, since the schema of nixosModules is an attrset, the loading logic is to load nix/nixosModules as attrs; it'll load desktop/default.nix as "desktop"21:12:00
@accelbread:matrix.orgaccelbread flakelight expects the filesystem layout to match the flake attr layout 21:12:31
@accelbread:matrix.orgaccelbread if you want those to be part of your desktop module, your desktop module can import them by path 21:13:33
@accelbread:matrix.orgaccelbread if you want them to be exported from the flake separately from the desktop module, you'd have to put it at top-level 21:14:09
@inomena:matrix.orginomenayeah I figured23:33:56
@inomena:matrix.orginomenamaybe using import-tree or something would solve my case, need to try that out23:34:21
@accelbread:matrix.orgaccelbreadyeah, long-term I plan to clean the autoloading code up in order to make it more extensible, so people can write a module that customizes autoloading to however they want it23:52:00
4 Jul 2026
@niclas:overby.meNiclas Overby Ⓝ changed their profile picture.23:24:42

There are no newer messages yet.


Back to Room ListRoom Version: 10