about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--configs/.config/nixpkgs/home.nix3
-rw-r--r--configs/.profile7
2 files changed, 3 insertions, 7 deletions
diff --git a/configs/.config/nixpkgs/home.nix b/configs/.config/nixpkgs/home.nix
index 840483556573..5e04d74a895b 100644
--- a/configs/.config/nixpkgs/home.nix
+++ b/configs/.config/nixpkgs/home.nix
@@ -23,6 +23,9 @@
       ];
     };
     sessionVariables = {
+      BROWSER = "google-chrome";
+      EDITOR = "emacsclient";
+      ALTERNATE_EDITOR = "vim";
     };
     stateVersion = "19.09";
   };
diff --git a/configs/.profile b/configs/.profile
index a7119b968ade..75eb25267ea6 100644
--- a/configs/.profile
+++ b/configs/.profile
@@ -19,13 +19,6 @@ if [ -z "$DISPLAY" -a "$(tty)" = '/dev/tty5' ]; then
   exec xinit -- vt05
 fi
 
-# Application preferences
-export BROWSER=google-chrome-stable
-export TERMINAL=alacritty
-export VISUAL=emacsclient
-export EDITOR=emacsclient
-export ALTERNATE_EDITOR=nvim
-
 # Rust integration. Keep here so programs like Emacs can read this value.
 # export RUST_SRC_PATH="$(rustc --print sysroot)/lib/rustlib/src/rust/src"