From 49882fbae8d4bd268fbf143003bf2b367ad5937d Mon Sep 17 00:00:00 2001 From: Bloxx12 Date: Sat, 19 Jul 2025 19:26:35 +0200 Subject: [PATCH] various: environment.sessionVariables => environment.variables Signed-off-by: Bloxx12 Change-Id: I6a6a696495dd9b0b531ce319785d337e6f5b173f --- hosts/common.nix | 2 +- modules/other/xdg.mod.nix | 2 +- modules/programs/gui/bitwarden.mod.nix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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"; }; }; }