Files
hosts/flake.nix
โทสฺตัล 0a64bfb3c7 nix flake refactor: avoid `with lib; & use lib.optional*`
Upstream Nixpkgs has been pushing the style of removing ``with lib;``
with the reasoning of clarity around where variables in scope come that
hurt readability & static analysis[*].

While on the topic of ``lib``, introduce ``lib.optional`` &
``lib.optionalString`` in a few more places to tidy up the code while
using common library patterns.

.. [*] https://nix.dev/guides/best-practices#with-scopes

Format: text/x-rst
2025-02-01 19:09:51 +07:00

2.0 KiB