Update EDITOR again
This time use nixvim instead of neovim Reference the `build.package` output for the final version with configs and settings and all of that jazz Set nixvim as my default editor
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.bash = {
|
programs.bash = {
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
ANSIBLE_COLLECTIONS_PATH = "\${HOME}/src/";
|
ANSIBLE_COLLECTIONS_PATH = "\${HOME}/src/";
|
||||||
CLICOLOR = "1";
|
CLICOLOR = "1";
|
||||||
EDITOR = "${pkgs.vim}/bin/vim";
|
EDITOR = lib.getExe config.programs.nixvim.build.package;
|
||||||
GIT_SSL_NO_VERIFY = "True";
|
GIT_SSL_NO_VERIFY = "True";
|
||||||
LSCOLORS = "ExGxBxDxCxEgEdxbxgxcxd";
|
LSCOLORS = "ExGxBxDxCxEgEdxbxgxcxd";
|
||||||
MAVEN_OPTS = " -Dmaven.wagon.http.ssl.insecure=true ";
|
MAVEN_OPTS = " -Dmaven.wagon.http.ssl.insecure=true ";
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
AWS_SHARED_CREDENTIALS_FILE = "/run/agenix/cache-credentials";
|
AWS_SHARED_CREDENTIALS_FILE = "/run/agenix/cache-credentials";
|
||||||
CARAPACE_BRIDGES = "zsh,bash";
|
CARAPACE_BRIDGES = "zsh,bash";
|
||||||
EDITOR = lib.getExe config.programs.neovim.package;
|
EDITOR = lib.mkForce (lib.getExe config.programs.nixvim.build.package);
|
||||||
GOPATH = "${config.home.homeDirectory}/src/go";
|
GOPATH = "${config.home.homeDirectory}/src/go";
|
||||||
GOBIN = "${config.home.homeDirectory}/src/bin";
|
GOBIN = "${config.home.homeDirectory}/src/bin";
|
||||||
LIBMYSQL_ENABLE_CLEARTEXT_PLUGIN = "1";
|
LIBMYSQL_ENABLE_CLEARTEXT_PLUGIN = "1";
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
colorschemes.gruvbox.enable = true;
|
colorschemes.gruvbox.enable = true;
|
||||||
|
defaultEditor = true;
|
||||||
globals = {
|
globals = {
|
||||||
indent_guides_enable_on_vim_startup = 1;
|
indent_guides_enable_on_vim_startup = 1;
|
||||||
nix_recommended_style = 0;
|
nix_recommended_style = 0;
|
||||||
|
|||||||
@@ -49,7 +49,7 @@
|
|||||||
GOPATH = "${config.home.homeDirectory}/src/go";
|
GOPATH = "${config.home.homeDirectory}/src/go";
|
||||||
GOBIN = "${config.home.homeDirectory}/src/bin";
|
GOBIN = "${config.home.homeDirectory}/src/bin";
|
||||||
|
|
||||||
EDITOR = lib.getExe config.programs.neovim.package;
|
EDITOR = lib.getExe config.programs.nixvim.build.package;
|
||||||
};
|
};
|
||||||
|
|
||||||
aliases = {
|
aliases = {
|
||||||
|
|||||||
Reference in New Issue
Block a user