use mkEnableOpt instead of mkBoolOpt
This commit is contained in:
@ -9,6 +9,9 @@ rec {
|
||||
description = desc;
|
||||
};
|
||||
|
||||
# Alias for consistency
|
||||
mkEnableOpt = lib.mkEnableOption;
|
||||
|
||||
# Like mkIf but the predicate is inverted
|
||||
mkElse = pred: do:
|
||||
(lib.mkIf (!pred) do);
|
||||
|
Reference in New Issue
Block a user