os/users/teutat3s/session-variables.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
396 B
Nix
Raw Normal View History

2023-01-28 20:49:10 +00:00
{ config, pkgs, ... }:
let
2021-06-06 13:22:44 +00:00
psCfg = config.pub-solar;
xdg = config.home-manager.users."${psCfg.user.name}".xdg;
2023-01-28 20:49:10 +00:00
in
{
home-manager =
pkgs.lib.setAttrByPath
[
"users"
psCfg.user.name
]
{
2021-06-06 13:22:44 +00:00
home.sessionVariables = {
2023-02-02 16:25:07 +00:00
DRONE_SERVER = "https://ci.pub.solar";
2023-11-20 21:24:29 +00:00
GOPATH = "/home/${psCfg.user.name}/.local/share/go";
2021-06-06 13:22:44 +00:00
};
2024-08-19 10:38:46 +00:00
};
2021-06-06 13:22:44 +00:00
}