mirror of
https://github.com/foo-dogsquared/nix-module-wrapper-manager-fds.git
synced 2025-01-30 22:57:58 +00:00
wrapper-manager-fds: add more comments for user entrypoint
This commit is contained in:
parent
4916eee048
commit
ef677fda8b
12
default.nix
12
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 {
|
nixosModules = rec {
|
||||||
default = wrapper-manager;
|
default = wrapper-manager;
|
||||||
wrapper-manager = ./modules/env/nixos;
|
wrapper-manager = ./modules/env/nixos;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# ...and for home-manager.
|
||||||
homeModules = rec {
|
homeModules = rec {
|
||||||
default = wrapper-manager;
|
default = wrapper-manager;
|
||||||
wrapper-manager = ./modules/env/home-manager;
|
wrapper-manager = ./modules/env/home-manager;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# The main library interface that can be used for immediate consumption.
|
||||||
lib = import ./lib/env.nix;
|
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;
|
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: {
|
overlays.default = final: prev: {
|
||||||
wrapperManagerLib = import ./lib { pkgs = final; };
|
wrapperManagerLib = import ./lib { pkgs = final; };
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user