marleyos/old/home/profile/default.nix

28 lines
522 B
Nix
Raw Normal View History

{ config, ... }:
{
home = {
sessionPath = [
"${config.home.homeDirectory}/.local/bin"
];
2024-11-03 15:00:19 -08:00
sessionVariables = rec {
HACK = "${config.home.homeDirectory}/hackin";
# TODO: remove this when neovim is installed.
EDITOR = "nvim";
2024-11-03 15:00:19 -08:00
VISUAL = "${EDITOR}";
SUDO_EDITOR = "${EDITOR}";
};
shellAbbrs = {
c = "clear";
2024-11-03 15:00:19 -08:00
e = "${config.home.sessionVariables.EDITOR}";
v = "${config.home.sessionVariables.EDITOR}";
};
};
imports = [
./xdg.nix
];
}