export config list in types

This commit is contained in:
lassulus 2022-10-23 11:30:08 +02:00
parent 5aa3ebcb99
commit 3c4cc93007
2 changed files with 2 additions and 4 deletions

View file

@ -156,9 +156,7 @@ rec {
config :: types.devices -> nixosConfig
*/
config = devices: {
imports = flatten (map (dev: dev._config) (flatten (map attrValues (attrValues devices))));
};
config = devices: flatten (map (dev: dev._config) (flatten (map attrValues (attrValues devices))));
/* Takes a disko device specification and returns a function to get the needed packages to format/mount the disks
packages :: types.devices -> pkgs -> [ derivation ]