pantheon/nix/lib/options.nix
Mohammad Rafiq 4e74db3938
refactor(lib): add lib output to flake
This is needed so we can use subattributes of flake.lib
2025-07-07 17:42:31 +08:00

15 lines
219 B
Nix

{ lib, ... }:
let
inherit (lib.options) mkOption;
inherit (lib.types) str;
in
{
flake.lib.options = {
mkStrOption =
default:
mkOption {
inherit default;
type = str;
};
};
}