From 6d3581ac49ff8f4ead0e0cedaa450cd0370e3610 Mon Sep 17 00:00:00 2001 From: xeals Date: Sat, 13 Nov 2021 19:05:18 +1100 Subject: [PATCH] flake: add singular nixosModule output --- flake.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flake.nix b/flake.nix index 3e9984c..b3c31dc 100644 --- a/flake.nix +++ b/flake.nix @@ -23,6 +23,10 @@ nixosModules = lib.mapAttrs (_: path: import path) (import ./modules); + nixosModule = { + imports = lib.attrValues self.nixosModules; + }; + overlays = import ./overlays // { pkgs = final: prev: import ./pkgs/top-level/all-packages.nix { pkgs = prev; }; };