diff options
| author | Soispha Peetz <soispha@b-peetz.de> | 2026-11-13 22:29:02 +0100 |
|---|---|---|
| committer | Soispha Peetz <soispha@b-peetz.de> | 2026-11-13 22:29:02 +0100 |
| commit | 9662bad2b3e1edaa7a869d7e1483178a42ad3c33 (patch) | |
| tree | 936d711636c7a09e4b3dc0202570eb1a32a1e4fb /options.nix | |
| parent | by-name.nix: Improve the warning message even more (diff) | |
| download | nix-library-9662bad2b3e1edaa7a869d7e1483178a42ad3c33.zip | |
The `mkDefaultEnabled` function does not really work, because there is
not so many module you would enable by default for anything. A `common`
module, that enables them might be better.
Diffstat (limited to '')
| -rw-r--r-- | options.nix | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/options.nix b/options.nix deleted file mode 100644 index e01c10d..0000000 --- a/options.nix +++ /dev/null @@ -1,21 +0,0 @@ -{lib}: { - /* - Generate an enable option definition, that defaults to true. - - This conveniently allows the composition of a “common” module set. - - # Type - - mkEnable :: String -> AttrSet - - # Arguments - - name - : The name to use in the option description. - */ - mkDefaultEnabled = name: - (lib.mkEnableOption name) - // { - default = true; - }; -} |
