nixos-config/lib
Gabriel Arazas c6754dc8dd
wrapper-manager-fds/docs: add proper copyright header for Hugo builder
It is basically a modified version of Go builder so ehhh...
2024-08-29 20:15:38 +08:00
..
builders wrapper-manager-fds/docs: add proper copyright header for Hugo builder 2024-08-29 20:15:38 +08:00
env-specific lib/env-specific/wrapper-manager: add function for wrapping with Boxxy and NixGL 2024-07-31 13:37:22 +08:00
fetchers lib/fetchers: add Internet Archive fetcher 2024-08-28 14:36:28 +08:00
utils lib/utils: fix NixOS library subset 2024-07-27 20:20:10 +08:00
data.nix lib/data: add function for rendering Mustache templates 2024-07-27 20:26:26 +08:00
default.nix lib: add functions at top-level 2024-08-29 13:21:37 +08:00
env-builders.nix lib/env-builders: refactor 2024-07-31 13:13:42 +08:00
flake.nix lib: init flake subset 2024-07-21 12:01:23 +08:00
README.adoc docs: add README for custom library 2024-06-21 20:33:22 +08:00
trivial.nix lib: implement filterAttrs' 2024-08-08 11:19:03 +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).