Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
Harald Hoyer 2024-11-19 10:31:29 +01:00
parent a3187e163d
commit 900f95169f
83 changed files with 1134 additions and 705 deletions

View file

@ -1,6 +1,7 @@
{ lib, ... }:
with lib; rec {
with lib;
rec {
## Create a NixOS module option.
##
## ```nix
@ -8,7 +9,8 @@ with lib; rec {
## ```
##
#@ Type -> Any -> String
mkOpt = type: default: description:
mkOpt =
type: default: description:
mkOption { inherit type default description; };
## Create a NixOS module option without a description.