From 3c4cc930077f88fd1bb6331e26dcbcf7efa7478e Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 23 Oct 2022 11:30:08 +0200 Subject: export config list in types --- types.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'types.nix') diff --git a/types.nix b/types.nix index db70ede..6c35de6 100644 --- a/types.nix +++ b/types.nix @@ -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 ] -- cgit v1.2.3