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. --- options.nix | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 options.nix (limited to 'options.nix') 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