NixOS/home/programs/go.nix

23 lines
355 B
Nix
Raw Normal View History

2024-08-12 19:20:24 +07:00
{ config, lib, pkgs, ... }:
2024-06-12 18:09:56 +07:00
let
cfg = config.profile.go;
in
{
config = lib.mkIf cfg.enable {
programs.go = {
enable = true;
goPrivate = [
"gitlab.bareksa.com"
];
};
2024-08-12 19:20:24 +07:00
home.packages = with pkgs; [
gotools
###### Golang development tools ######
gomodifytags
gotests
iferr
];
2024-06-12 18:09:56 +07:00
};
}