summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zshrc2
-rw-r--r--hosts/laptop-nixos/home.nix20
2 files changed, 2 insertions, 20 deletions
diff --git a/.zshrc b/.zshrc
index 3b4b1ad..92b1ab2 100644
--- a/.zshrc
+++ b/.zshrc
@@ -68,6 +68,8 @@ alias gl='git log --oneline --decorate'
alias gc='git commit'
alias ga='git add'
+# Env vars
+export FLAKE=~/dotfiles/
export EDITOR=nvim
export PAGER='nvim -R'
export MANPAGER='nvim +Man!'
diff --git a/hosts/laptop-nixos/home.nix b/hosts/laptop-nixos/home.nix
index 59167a1..a06702e 100644
--- a/hosts/laptop-nixos/home.nix
+++ b/hosts/laptop-nixos/home.nix
@@ -66,26 +66,6 @@
# '';
};
- # Home Manager can also manage your environment variables through
- # 'home.sessionVariables'. These will be explicitly sourced when using a
- # shell provided by Home Manager. If you don't want to manage your shell
- # through Home Manager then you have to manually source 'hm-session-vars.sh'
- # located at either
- #
- # ~/.nix-profile/etc/profile.d/hm-session-vars.sh
- #
- # or
- #
- # ~/.local/state/nix/profiles/profile/etc/profile.d/hm-session-vars.sh
- #
- # or
- #
- # /etc/profiles/per-user/kyren/etc/profile.d/hm-session-vars.sh
- #
- home.sessionVariables = {
- FLAKE = ~/dotfiles/
- };
-
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
}