diff options
-rw-r--r-- | modules/basic.nix | 6 | ||||
-rw-r--r-- | modules/emacs/README.org | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/modules/basic.nix b/modules/basic.nix index 7698c7a..a270d43 100644 --- a/modules/basic.nix +++ b/modules/basic.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, ...}: with lib; { +{ config, lib, pkgs, inputs, ...}: with lib; { options.santi-modules.basic.enable = mkOption { type = types.bool; default = true; @@ -6,6 +6,10 @@ }; config = mkIf config.santi-modules.basic.enable { nix = { + registry.nixpkgs.to = { + type = "path"; + path = inputs.nixpkgs; + }; package = pkgs.lib.mkForce pkgs.nixVersions.nix_2_25; settings = { trusted-users = [ "root" "leonardo" ]; diff --git a/modules/emacs/README.org b/modules/emacs/README.org index d5f25de..24a2d1d 100644 --- a/modules/emacs/README.org +++ b/modules/emacs/README.org @@ -320,6 +320,7 @@ Try to use the package. :hook (org-mode . org-indent-mode) :diminish org-indent-mode :config + (setopt text-mode-ispell-word-completion nil) (add-to-list 'org-src-lang-modes '("rust" . rust-ts)) (add-to-list 'org-src-lang-modes '("python" . python-ts)) (custom-set-faces |