various: environment.sessionVariables => environment.variables

Signed-off-by: Bloxx12 <charlie@charlieroot.dev>
Change-Id: I6a6a696495dd9b0b531ce319785d337e6f5b173f
This commit is contained in:
Bloxx12 2025-07-19 19:26:35 +02:00
commit 49882fbae8
Signed by: faukah
SSH key fingerprint: SHA256:jpYIt4Vkz1NBTQcks/N9OPTfTFxE6KF2W/rV7hrfrIw
3 changed files with 3 additions and 3 deletions

View file

@ -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";
}

View file

@ -16,7 +16,7 @@
in {
environment = {
systemPackages = [pkgs.xdg-utils];
sessionVariables = {
variables = {
TERMINAL = "${terminal}";
XDG_CACHE_HOME = "/home/${username}/.config";
};

View file

@ -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";
};
};
}