summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Santiago <[email protected]>2025-04-16 09:27:20 -0300
committerLeonardo Santiago <[email protected]>2025-04-16 09:27:43 -0300
commit3ebac405739d09947ce6a30be8f81c9048e5e91c (patch)
treea458fd89e7fe958c8d785095a08c081ce28663d8
parent367d80d8042d39d348334568226345bd52c2fd2c (diff)
fix(nix): pin nix registry nixpkgs to flake input
-rw-r--r--modules/basic.nix6
-rw-r--r--modules/emacs/README.org1
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