❄️ going a little overboard with my nix config?
This commit is contained in:
22
modules/golang.nix
Normal file
22
modules/golang.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.sessionPath = [ "$HOME/.go/bin" ];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
go
|
||||
gocode
|
||||
golangci-lint
|
||||
gomodifytags
|
||||
gopls
|
||||
gotests
|
||||
gore
|
||||
];
|
||||
|
||||
programs = {
|
||||
zsh = {
|
||||
oh-my-zsh = { plugins = [ "golang" ]; };
|
||||
sessionVariables = { GOPATH = "$HOME/.go"; };
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user