diff --git a/overlays.nix b/overlays.nix index ac2e584..cef710f 100644 --- a/overlays.nix +++ b/overlays.nix @@ -5,6 +5,11 @@ let cfg = config.aviallon.overlays; in { + + imports = [ + (mkRenamedOptionModule [ "aviallon" "overlays" "optimizations" ] [ "aviallon" "optimizations" "enable" ]) + ]; + options.aviallon.overlays = { enable = mkOption { default = true; @@ -12,12 +17,6 @@ in description = "Wether to enable system-wide overlays or not"; type = types.bool; }; - optimizations = mkOption { - default = true; - example = false; - description = "Wether to enable CPU-specific optimizations for some packages or not"; - type = types.bool; - }; traceCallPackage = mkEnableOption "printing package names each time callPackage is evaluated"; }; config = mkIf cfg.enable {