nixos-config/lib
2024-07-16 14:21:30 +08:00
..
env-specific lib: initialize env-specific subset for wrapper-manager-fds 2024-07-10 15:50:31 +08:00
utils lib/trivial: move nixpkgs module functions to utils 2024-06-14 23:45:07 +08:00
builders.nix lib: update output name for XDG component builders 2024-07-16 14:21:30 +08:00
data.nix lib/data: init 2024-06-09 23:03:26 +08:00
default.nix lib: init builders subset 2024-07-10 19:19:48 +08:00
README.adoc docs: add README for custom library 2024-06-21 20:33:22 +08:00
trivial.nix lib/trivial: move nixpkgs module functions to utils 2024-06-14 23:45:07 +08:00

This is my custom library set of functions to be included within each of the environment. They are included in each of the environment as foodogsquaredLib module argument. It is similarly structured from nixpkgs (though it is directly copied after Ive implemented how Bahaghari structures their library set) where it is an extensible fixed point making it easy to use after adding new functions into the set AND extend it if you want to through the $LIB.extend function. The structure is even copied from nixpkgs where each of the subset is in the fixed point also stored with the same name.

The only exception to this are the environment-specific subsets where they are only intended to be imported into NixOS, home-manager, and the like. This is in the ./env-specific directory. Furthermore, env-specific subsets have a lesser restriction of allowing the configuration object to be included in there (though it is discouraged to use it but thats on a case-by-case basis).