Commit graph

8 commits

Author SHA1 Message Date
c6a276404f Formatting 2026-03-01 19:33:49 +00:00
4472d74e96 Added manpages to the generated documentation 2026-03-01 19:28:05 +00:00
ba6377b375 Fixed lib entry in .gitignore 2026-03-01 17:59:40 +00:00
9232d12f25 Added documentation about modules.
NixOS and Home Manager both automatically generate documentation using 'nixosOptionsDoc', and now so does hylonix.

I can't find any standard reference for where this documentation should go, so I have created a doc attribute in the flake.
2026-03-01 17:49:00 +00:00
2a5ced3905 Removed pipe operator.
The pipe operator '<|' was added in Nix 2.24 as experimental. In typical
nix community fashion, an eternity has passed, it's still experimental, and
they're still arguing about it. Thus, in order not to burden any users of
this flake, they have been removed.

To get this done quickly a utility function has been added called 'compose'.
It is 'lib.trivial.pipe' written in reverse. This eliminates any bugs and
performance regressions from unnecessary thunk evaluation.
2026-02-23 22:08:18 +00:00
0f0c4c7727 Added a module to configure browser based on the gecko engine, such as Firefox.
This module should provide similar functionality to the firefox module in
home-manager. Some notable differences between the two include:

* home-manager configures a single browser. This means that any configuration
  that cannot be done on a per-profile basis is shared between all
  profiles. This module configures a new copy of the browser for every profile,
  ensuring that *all* configuration can be on a per-profile basis.

  This might be seen as insanity in a regular distro, but in NixOS this is
  trivial to do and requires no extra storage space.

* home-manager modifies files in the user's directory to configure things such
  as extensions and search engines. This module avoids that when possible by
  pushing configuration into policies and preferences at a browser level.
  This is much nicer for impermanence-based systems.
2026-02-22 19:57:42 +00:00
977595f7e8 Add a monoid to lib that merges objects together 2026-02-22 18:46:28 +00:00
e9e0b0dc2a Initial commit 2026-02-22 17:59:18 +00:00