forked from pub-solar/os
20 lines
396 B
Nix
20 lines
396 B
Nix
{ config, pkgs, ... }:
|
|
let
|
|
psCfg = config.pub-solar;
|
|
xdg = config.home-manager.users."${psCfg.user.name}".xdg;
|
|
in
|
|
{
|
|
home-manager =
|
|
pkgs.lib.setAttrByPath
|
|
[
|
|
"users"
|
|
psCfg.user.name
|
|
]
|
|
{
|
|
home.sessionVariables = {
|
|
DRONE_SERVER = "https://ci.pub.solar";
|
|
GOPATH = "/home/${psCfg.user.name}/.local/share/go";
|
|
};
|
|
};
|
|
}
|