fix: make the default editor neovim on macos too

This commit is contained in:
Maddie H 2024-10-14 17:17:30 +01:00
parent 20ba32069c
commit 95f78ddf56
Signed by: maddie
GPG Key ID: C296DE8C9053683F
3 changed files with 8 additions and 9 deletions

View File

@ -5,4 +5,6 @@
inputs.editor.packages.${pkgs.stdenv.hostPlatform.system}.default
];
programs.zsh.shellAliases.vimdiff = "nvim -d";
home.sessionVariables.EDITOR = "nvim";
}

View File

@ -10,6 +10,7 @@
_JAVA_OPTIONS = "-Djava.util.prefs.userRoot=${config.xdg.configHome}/java";
};
shellAliases = {
wget = "wget --hsts-file='${config.xdg.dataHome}/wget-hsts'";
};

View File

@ -5,6 +5,11 @@
xdg-utils
xdg-user-dirs
];
home.sessionVariables = {
BROWSER = "librewolf";
TERMINAL = "alacritty";
};
xdg = {
enable = true;
@ -47,13 +52,4 @@
};
};
};
home = {
sessionVariables = {
# Default programs
EDITOR = "nvim";
TERMINAL = "st";
BROWSER = "librewolf";
};
};
}