about summary refs log tree commit diff
path: root/configs/.config
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-03-10T22·08+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-03-10T23·07+0000
commit3ae100e4684636c77447559818ab0015d20e96c8 (patch)
tree5500c61669447b2950c6daaaed47c7407ae194c3 /configs/.config
parent82b2c8c27c7b220dda33dbce70b73b26daa4edde (diff)
Manage session variables with home-manager
If you haven't noticed, home-manager is managing increasingly more of my
configuration.

- Migrate session variables to home.nix
- Drop support for unused session variables like TERMINAL, VISUAL
Diffstat (limited to 'configs/.config')
-rw-r--r--configs/.config/nixpkgs/home.nix3
1 files changed, 3 insertions, 0 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";
   };