summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSkullheadx <andrew@andrew-montgomery.dev>2026-06-30 12:51:11 -0400
committerSkullheadx <andrew@andrew-montgomery.dev>2026-06-30 12:51:15 -0400
commitf0b5e57ff20f613e236b742c9f90ba9c0a2f85ec (patch)
treef4399d286563c7fbac93730f37705ef2a42542e1
parentlazygit delta paging darwin (diff)
downloadnixos-f0b5e57ff20f613e236b742c9f90ba9c0a2f85ec.tar.gz
nixos-f0b5e57ff20f613e236b742c9f90ba9c0a2f85ec.tar.bz2
nixos-f0b5e57ff20f613e236b742c9f90ba9c0a2f85ec.zip
set EDITOR and VISUAL env vars to nvim
-rw-r--r--common-darwin.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/common-darwin.nix b/common-darwin.nix
index e248521..9170c92 100644
--- a/common-darwin.nix
+++ b/common-darwin.nix
@@ -34,6 +34,10 @@
tealdeer
];
+ environment.variables = {
+ EDITOR = "nvim";
+ VISUAL = "nvim";
+ };
nix.gc = {
automatic = true;
interval.Day = 7;