Files
nix-stuff/vaculib/mkOutOption.nix
Shelvacu 41fc90417c stuff
2025-07-30 11:26:31 -07:00

15 lines
245 B
Nix

{ lib, ... }:
rec {
mkOutOption =
val:
lib.mkOption {
readOnly = true;
default = val;
defaultText = "(final/output of module)";
};
mkOutOptions =
attrs:
builtins.mapAttrs (_: v: mkOutOption v) attrs;
}