NixOS/home/programs/go.nix

16 lines
248 B
Nix
Raw Normal View History

2024-06-12 18:09:56 +07:00
{ config, lib, unstable, ... }:
let
cfg = config.profile.go;
in
{
config = lib.mkIf cfg.enable {
programs.go = {
enable = true;
goPrivate = [
"gitlab.bareksa.com"
];
package = unstable.go_1_22;
};
};
}