summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-10-04 16:47:25 +0200
committerAlan Pearce2019-10-04 16:47:25 +0200
commit33dee336ddd9c0b39170fb6ad5cc0489b626573b (patch)
tree2bd1e036f85e6fd784d73e4622d7a5355b25d1e3
parent4c0d444e91bd1a5813123dab93b3397715111913 (diff)
downloadnixfiles-33dee336ddd9c0b39170fb6ad5cc0489b626573b.tar.lz
nixfiles-33dee336ddd9c0b39170fb6ad5cc0489b626573b.tar.zst
nixfiles-33dee336ddd9c0b39170fb6ad5cc0489b626573b.zip
Set session variables across all platforms
-rw-r--r--user/modules/emacs.nix2
-rw-r--r--user/modules/satoshipay.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/user/modules/emacs.nix b/user/modules/emacs.nix
index 6860627e..387f07ab 100644
--- a/user/modules/emacs.nix
+++ b/user/modules/emacs.nix
@@ -42,7 +42,7 @@ in
   nixpkgs.config.packageOverrides = {
     myEmacs = emacsPackage;
   };
-  systemd.user.sessionVariables = {
+  home.sessionVariables = {
     EDITOR = lib.mkOverride 900 "${editorScript}/bin/edit";
   };
   home.file.".emacs.d" = {
diff --git a/user/modules/satoshipay.nix b/user/modules/satoshipay.nix
index 99eb22d6..d59c4f1f 100644
--- a/user/modules/satoshipay.nix
+++ b/user/modules/satoshipay.nix
@@ -10,7 +10,7 @@ in
     ./javascript.nix
   ];
 
-  systemd.user.sessionVariables = {
+  home.sessionVariables = {
     KUBECTX_IGNORE_FZF = "1";
   };
   home.packages = with pkgs; [