 ;; -*- lexical-binding: t; -*-
+
+(unless (functionp 'json-serialize)
+  (error "**** you don't have a json-serialize built-in function ****"))
+
+(unless (functionp 'module-load)
+  (error "**** you don't have modules enabled ****"))
 
 (and (boundp 'use-package-report)
      (use-package-report))

    (setq-default straight-vc-git-default-clone-depth 1)
    (aim/straight-bootstrap)))

(setq straight-use-package-by-default t
      straight-repository-branch "develop"
      straight-check-for-modifications nil
      straight-disable-native-compile t)

(setq warning-suppress-log-types '((comp) (use-package)))

;;; PACKAGES

(defvar use-nix-epkgs (or (string= system-name "mba")
			  (string= system-name "x1c")))

(setq use-nix-epkgs t)

(when (eq system-type 'darwin)
  (progn
