aboutsummaryrefslogtreecommitdiff
path: root/home/go/default.nix
blob: c31618975f098816864ebd26bf6d4f9907553895 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ config, ... }:
let cfg = config.my.home.go;
in {
  options.my.home.go = with lib.my; {
    enable = mkEnableOption "go configuration";
  };

  config.programs.go = lib.mkIf cfg.enable {
    enable = true;
    goPath = ".local/share/pkg.go";
    goBin = ".local/bin.go";
    goPrivate = [ "git.fcuny.net" "golang.fcuny.net" ];
  };

  # home.sessionPath = [ config.home.sessionVariables.GOBIN ];
}