From ef677fda8b9f784235a9d280eca9def63e5b4ada Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sat, 21 Sep 2024 19:22:35 +0800 Subject: [PATCH] wrapper-manager-fds: add more comments for user entrypoint --- default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/default.nix b/default.nix index 7ea52e4..55a4a4c 100644 --- a/default.nix +++ b/default.nix @@ -5,18 +5,30 @@ { }: { + # Self-explanatory attributes, yeah? These are just integration modules for + # the select environments... + # ...such as for NixOS, ... nixosModules = rec { default = wrapper-manager; wrapper-manager = ./modules/env/nixos; }; + # ...and for home-manager. homeModules = rec { default = wrapper-manager; wrapper-manager = ./modules/env/home-manager; }; + # The main library interface that can be used for immediate consumption. lib = import ./lib/env.nix; + + # This is intended to be imported by the user in case they want to initialize + # their own wrapper-manager library for whatever reason. wrapperManagerLib = ./lib; + + # The overlay that can be included in the nixpkgs instance which includes + # only the wrapper-manager library set for now (and pretty much in the + # distant future). overlays.default = final: prev: { wrapperManagerLib = import ./lib { pkgs = final; }; };