refactor: collapsed emacs dir, moved envvar definition

This commit is contained in:
Infinidoge 2021-09-28 00:07:51 -04:00
parent f440704ca8
commit 45566a8bc8
2 changed files with 18 additions and 18 deletions

View file

@ -37,7 +37,8 @@
}; };
}; };
environment.systemPackages = with pkgs; [ environment = {
systemPackages = with pkgs; [
wget wget
vim vim
htop htop
@ -54,7 +55,10 @@
lxappearance lxappearance
]; ];
environment.shellAliases.ssh = "kitty +kitten ssh"; shellAliases.ssh = "kitty +kitten ssh";
variables.DOOMDOR = "/etc/nixos/users/infinidoge/config/doom/";
};
programs = { programs = {
vim.defaultEditor = true; vim.defaultEditor = true;

View file

@ -6,10 +6,6 @@
"${config.xdg.configHome}/emacs/bin" "${config.xdg.configHome}/emacs/bin"
]; ];
sessionVariables = {
DOOMDIR = "/etc/nixos/users/profiles/emacs/doom/";
};
packages = with pkgs; [ packages = with pkgs; [
emacs emacs
ripgrep ripgrep