From 9662bad2b3e1edaa7a869d7e1483178a42ad3c33 Mon Sep 17 00:00:00 2001 From: Soispha Peetz Date: Fri, 13 Nov 2026 22:29:02 +0100 Subject: options.nix: Remove 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. --- default.nix | 1 - options.nix | 21 --------------------- 2 files changed, 22 deletions(-) delete mode 100644 options.nix 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; - }; -} -- cgit v1.3.1