diff options
Diffstat (limited to '')
| -rw-r--r-- | default.nix | 1 | ||||
| -rw-r--r-- | options.nix | 21 |
2 files changed, 0 insertions, 22 deletions
diff --git a/default.nix b/default.nix index 26e93c3..ae18001 100644 --- a/default.nix +++ b/default.nix @@ -43,5 +43,4 @@ in { else merged; math = import ./math.nix {inherit lib;}; - options = import ./options.nix {inherit lib;}; } 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; - }; -} |
