blob: 24748d0cbccbba82faa02351c45f7bc08c8b35cc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
{ lib, config, ... }:
let cfg = config.my.home.go;
in {
options.my.home.go = with lib; {
enable = mkEnableOption "go configuration";
};
config = lib.mkIf cfg.enable {
programs.go = {
enable = true;
goPath = ".local/share/pkg.go";
goBin = ".local/bin.go";
goPrivate = [ "git.fcuny.net" "golang.fcuny.net" ];
};
home.sessionPath = [ config.home.sessionVariables.GOBIN ];
};
}
|