From a3196fd52dd2fd5f988ce2c9da84ba52779d7583 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 --- subprojects/wrapper-manager-fds/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/subprojects/wrapper-manager-fds/default.nix b/subprojects/wrapper-manager-fds/default.nix index 7ea52e4a..55a4a4cc 100644 --- a/subprojects/wrapper-manager-fds/default.nix +++ b/subprojects/wrapper-manager-fds/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; }; };