diff --git a/hosts/common.nix b/hosts/common.nix index 8529298..4d8b775 100644 --- a/hosts/common.nix +++ b/hosts/common.nix @@ -49,5 +49,5 @@ in { inherit (pkgs) uutils-coreutils-noprefix; }); # helix as the only editor, a reasonable choice. - environment.sessionVariables.EDITOR = "hx"; + environment.variables.EDITOR = "hx"; } diff --git a/modules/other/xdg.mod.nix b/modules/other/xdg.mod.nix index 649766d..c094693 100644 --- a/modules/other/xdg.mod.nix +++ b/modules/other/xdg.mod.nix @@ -16,7 +16,7 @@ in { environment = { systemPackages = [pkgs.xdg-utils]; - sessionVariables = { + variables = { TERMINAL = "${terminal}"; XDG_CACHE_HOME = "/home/${username}/.config"; }; diff --git a/modules/programs/gui/bitwarden.mod.nix b/modules/programs/gui/bitwarden.mod.nix index d5ebfd7..6286247 100644 --- a/modules/programs/gui/bitwarden.mod.nix +++ b/modules/programs/gui/bitwarden.mod.nix @@ -28,7 +28,7 @@ in { }; # Set the ssh socket globally. This alows all applications and shells to use # the ssh-agent. - sessionVariables."SSH_AUTH_SOCK" = "/run/user/1000/ssh-agent.sock"; + variables."SSH_AUTH_SOCK" = "/run/user/1000/ssh-agent.sock"; }; }; }